Bug #73925 INSERT INTO ... ON DUPLICATE KEY UPDATE not taking into account multiple column
| Submitted: | 16 Sep 2014 9:34 | Modified: | 16 Sep 2014 11:22 |
|---|---|---|---|
| Reporter: | Pasqual Casanova | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
| Version: | 5.5.27 | OS: | Windows (7 64 bit) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | bug, constraint, multiple column, ON DUPLICATE KEY, primary key, unique | ||
[16 Sep 2014 9:34]
Pasqual Casanova
[16 Sep 2014 11:22]
Pasqual Casanova
Sorry, I checked the constraints on the table - I had multiple ones. After deleting them and keeping only the PRIMARY KEY for the multiple intended columns, everything works as expected.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 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.