mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge Percona patch MWL#47 into mariadb 5.2-percona.
This patch adds options to annotate the binlog (and the mysqlbinlog output) with the original SQL query for queries that are logged using row-based replication.
This commit is contained in:
16
mysql-test/suite/rpl/t/rpl_row_annotate_do.test
Normal file
16
mysql-test/suite/rpl/t/rpl_row_annotate_do.test
Normal file
@@ -0,0 +1,16 @@
|
||||
###############################################################################
|
||||
# WL47: Store in binlog text of statements that caused RBR events
|
||||
# Wrapper for extra/rpl/rpl_row_annotate.test.
|
||||
# Intended to test that if the --replicate-annotate-rows-events option
|
||||
# is switched on on slave then Annotate_events:
|
||||
# - are reproduced on slave
|
||||
# - are reproduced only once for "multi-table-maps" rbr queries
|
||||
# - are not reproduced when the corresponding queries are filtered away
|
||||
# on replication
|
||||
# - are reproduced when the corresponding queries are filtered away partialy
|
||||
# (e.g. in case of multi-delete)
|
||||
# - are not generated on slave for queries that are not annotated on master.
|
||||
###############################################################################
|
||||
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source extra/rpl_tests/rpl_row_annotate.test
|
Reference in New Issue
Block a user