1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

BUG#51291 Unfortunate effect around variable binlog_direct_non_transactional_updates

Post-merge fix.
This commit is contained in:
Alfranio Correia
2010-04-01 00:16:22 +01:00
parent 2b48577cc2
commit ec6c56ef5a
3 changed files with 3 additions and 2 deletions

View File

@ -3748,7 +3748,7 @@ int THD::decide_logging_format(TABLE_LIST *tables)
isolation level but if we have pure repeatable read or serializable the
lock history on the slave will be different from the master.
*/
if (!trans_non_trans_access_engines)
if (trans_non_trans_access_engines)
lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_MIXED_STATEMENT);
else if (trans_has_updated_trans_table(this) && !all_trans_write_engines)
lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_NONTRANS_AFTER_TRANS);