Browse Source
Bug #46998 mysqlbinlog can't output BEGIN even if the database is included in a transaction
Bug #46998 mysqlbinlog can't output BEGIN even if the database is included in a transaction
The 'BEGIN/COMMIT/ROLLBACK' log event could be filtered out if the database is not selected by --database option of mysqlbinlog command. This can result in problem if there are some statements in the transaction are not filtered out. To fix the problem, mysqlbinlog will output 'BEGIN/ROLLBACK/COMMIT' in regardless of the database filtering rules.pull/47/merge
4 changed files with 147 additions and 1 deletions
-
5client/mysqlbinlog.cc
-
81mysql-test/r/mysqlbinlog.result
-
BINmysql-test/std_data/binlog_transaction.000001
-
62mysql-test/t/mysqlbinlog.test
Write
Preview
Loading…
Cancel
Save
Reference in new issue