mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-29989 binlog_do_db option breaks versioning table
Problem: ========= During commit, server calls prepare_commit_versioned to determine the transaction modified system-versioned data. Due to binlog_do_db option, we disable the binlog for the statement. But prepare_commit_versioned() is being called only when binlog is enabled for the statement. Fix: === prepare_commit_versioned() should happen irrespective of binlog state. So if the server has any read-write operation then we should call prepare_commit_versioned().
This commit is contained in:
2
mysql-test/suite/versioning/t/trx_id.opt
Normal file
2
mysql-test/suite/versioning/t/trx_id.opt
Normal file
@ -0,0 +1,2 @@
|
||||
--log_bin
|
||||
--binlog_do_db=foo
|
Reference in New Issue
Block a user