diff options
author | Sven Sandberg <sven.sandberg@sun.com> | 2009-10-14 18:32:08 +0200 |
---|---|---|
committer | Sven Sandberg <sven.sandberg@sun.com> | 2009-10-14 18:32:08 +0200 |
commit | 73b296c4c4d7c03528f33f0c6f1c91905ec7b8e6 (patch) | |
tree | 06ef5bb131c782b938e8e1f1795cf12c2dc5b129 /mysql-test/r/trigger_notembedded.result | |
parent | 959d147716b2fee611e5581c2e45eddbf516c4e4 (diff) | |
download | mariadb-git-73b296c4c4d7c03528f33f0c6f1c91905ec7b8e6.tar.gz |
BUG#39934: Slave stops for engine that only support row-based logging
Post-push fix.
Problem: After the original bugfix, if a statement is unsafe,
binlog_format=mixed, and engine is statement-only, a warning was
generated and the statement executed. However, it is a fundamental
principle of binlogging that binlog_format=mixed should guarantee
correct logging, no compromise. So correct behavior is to generate
an error and don't execute the statement.
Fix: Generate error instead of warning.
Since issue_unsafe_warnings can only generate one error message,
this allows us to simplify the code a bit too:
decide_logging_format does not have to save the error code for
issue_unsafe_warnings
Diffstat (limited to 'mysql-test/r/trigger_notembedded.result')
0 files changed, 0 insertions, 0 deletions