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:
@ -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);
|
||||
|
Reference in New Issue
Block a user