Bug #70727 | updating same row multiple times not working | ||
---|---|---|---|
Submitted: | 25 Oct 2013 17:18 | Modified: | 6 Dec 2013 21:21 |
Reporter: | Franjo Markovic | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
Version: | 5.6.14 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[25 Oct 2013 17:18]
Franjo Markovic
[14 Nov 2013 19:24]
Sveta Smirnova
Thank you for the report. This is not a bug: table aa1 contains 1 row which is updated, using first corresponding row from the join result. But I agree it can be confusing, therefore verify this report as documentation bug.
[6 Dec 2013 21:21]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products. Modifying the UPDATE section (e.g., http://dev.mysql.com/doc/refman/5.6/en/update.html) to say: For the multiple-table syntax, UPDATE updates rows in each table named in table_references that satisfy the conditions. Each matching row is updated once, even if it matches the conditions multiple times.