MySQL Bugs: #83030: AUTO_INCREMENT not updated when using REPLACE INTO
解决方案
(1)Mysql 8.0后修复
(2)alter table table_name auto_increment = XXXX
(3)写个事务然后回滚
MySQL Bugs: #83030: AUTO_INCREMENT not updated when using REPLACE INTO
解决方案
(1)Mysql 8.0后修复
(2)alter table table_name auto_increment = XXXX
(3)写个事务然后回滚