-
Notifications
You must be signed in to change notification settings - Fork 18
MySQL
upan edited this page Apr 6, 2017
·
3 revisions
REPLACE INTO feeds (p_id,p_name) VALUES (1,'Olle');
ON DUPLICATE KEY UPDATE重复插入时更新 深入mysql "ON DUPLICATE KEY UPDATE" 语法的分析
是用该语句当使用innoDB时会产生gap,及自增ID会空跳
insert-on-duplicate-key-update-with-two-contitions https://bugs.mysql.com/bug.php?id=24432 06年报的bug至今未解