Bug #61061 | Unsafe updates written to binlog in STATEMENT format when binlog_format=MIXED | ||
---|---|---|---|
Submitted: | 4 May 2011 17:32 | Modified: | 9 Jul 2013 17:59 |
Reporter: | Chris Calender | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
Version: | 5.1.56, 5.5.10, 5.6.3 | OS: | Any |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
Tags: | auto_increment, binlog_format, mixed, row-based, unsafe |
[4 May 2011 17:32]
Chris Calender
[5 May 2011 12:16]
Sveta Smirnova
Thank you for the report. Verified as described.
[5 May 2011 13:35]
Sveta Smirnova
We discussed this bug internally and found this is actually documentation issue after fix of bug #50192
[13 May 2011 14:37]
Jon Stephens
The fix for BUG#50192 was never pushed to 5.1, AFAICT. So the 5.1 documentation should be correct...?
[18 May 2011 15:38]
Chris Calender
@Jon: The 5.1 documentation is not correct, at least not in regards to this specific bug I opened. Note the page I quoted is from the 5.1 version of the manual. Furthermore, it was noted "Verified as described". @Sveta: I don't see how "this is actually documentation issue after fix of bug #50192". Or in other words, that bug (#50192) only deals with autoincrement updates/inserts occurring via a trigger or stored function. However, this bug I opened (#61061) simply refers to the the normal case, no triggers or stored functions involved, and it does not appear to have been addressed by anything (at least that I can read) in that bug report.
[31 May 2011 19:47]
Sveta Smirnova
Chris, actually INSERT/UPDATEs on AUTO_INC column in top level statement are safe. So behavior described here is correct, documentation is wrong. They became to be safe after fix of bug #50192
[2 Jun 2011 23:33]
Chris Calender
Hi Sveta, Thanks for the clarification! I'll be glad to see this updated in the manual .. it'll make this issue much more clear. Thanks again, and best wishes :)
[9 Jul 2013 17:59]
Jon Stephens
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. Fixed in mysqldoc rev 35610, Closed.