Bug #73936 | If the storage engine supports RBR, unsafe SQL statementes end up in binlog | ||
---|---|---|---|
Submitted: | 16 Sep 2014 16:50 | Modified: | 22 Jan 2019 15:35 |
Reporter: | Santosh Praneeth Banda | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.6.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Sep 2014 16:50]
Santosh Praneeth Banda
[31 Jul 2018 9:34]
MySQL Verification Team
Hi, Yes, it works just like this. Verifying the bug. Thanks for reporting it. If we are going to change the behavior or just better document it I can't say at this point. all best Bogdan
[22 Jan 2019 15:35]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.15: If a storage engine has the capability to log in STATEMENT format but not in ROW format, when binlog_format is set to STATEMENT, an unsafe SQL statement should be logged and a warning message should be written to the error log. However, such statements were instead not executed and an error message was written to the error log, which is the correct behavior when binlog_format is set to MIXED or ROW. The issue has now been corrected so that unsafe statements are logged with a warning as expected when binlog_format is set to STATEMENT.