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.