Bug #58086 | auto_inc in InnoDB have INSERT ... ON DUPLICATE KEY UPDATE != UPDATE | ||
---|---|---|---|
Submitted: | 9 Nov 2010 15:09 | Modified: | 30 Nov 2011 18:40 |
Reporter: | Mattias Jonsson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | John Russell | CPU Architecture: | Any |
[9 Nov 2010 15:09]
Mattias Jonsson
[9 Nov 2010 15:57]
Valeriy Kravchuk
Verified with 5.1.52.
[30 Nov 2011 18:40]
John Russell
Changing the example to say the effects are "similar" and adding this wording after the example: (The effects are not identical for an InnoDB table where a is an auto-increment column. With an auto-increment column, an INSERT statement increases the auto-increment value but UPDATE does not.)