MySQL的这个BUG,坑了多少人?
作者:IT科技 来源:IT科技类资讯 浏览: 【大中小】 发布时间:2025-11-05 01:03:32 评论数:

复制ha_innobase::write_row:write_row的坑多第三步中调用handler句柄中的update_auto_increment函数更新auto increment的值 handler::update_auto_increment: 调用Innodb接口获取一个自增值,并根据当前的少人auto_increment相关变量的值调整获取的自增值;同时设置当前handler要处理的下一个自增列的亿华云值。 ha_innobase::get_auto_increment:获取dict_tabel中的坑多当前auto increment值,并根据全局参数更新下一个auto increment的少人值到数据字典中 ha_innobase::dict_table_autoinc_initialize:更新auto increment的值,如果指定的坑多值比当前的高防服务器值大,则更新。少人 handler::set_next_insert_id:设置当前事务中下一个要处理的坑多行的自增列的值。少人 1.2.3.4.5.
