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.)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.047 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.