1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
unknown de04eb6c37 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.

client/mysqlbinlog.cc:
  Skip the database check for BEGIN/COMMIT/ROLLBACK log events.
mysql-test/r/mysqlbinlog.result:
  Test result for bug#46998
mysql-test/t/mysqlbinlog.test:
  Added test to verify if the 'BEGIN', 'COMMIT' and 'ROLLBACK' are output
  in regardless of database filtering
2009-09-30 10:01:52 +08:00
..
2008-03-31 19:48:02 +02:00
2006-12-06 21:47:29 +04:00
2007-12-23 11:18:46 +02:00
2007-12-23 11:18:46 +02:00
2008-03-28 23:39:47 +03:00
2001-12-13 15:53:18 +02:00
2007-06-07 17:55:55 +05:00
ndb
2005-09-30 12:19:15 +02:00
2003-09-25 00:14:46 +02:00