summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlbinlog_row_trans.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mysql.com>2008-08-21 16:47:23 +0500
committerAlexander Barkov <bar@mysql.com>2008-08-21 16:47:23 +0500
commit762df2d05c47466404dd48823f3d5fc22f8fc3f7 (patch)
treed7373ca2777d73cc9c3284a463a35ad94d3452e3 /mysql-test/t/mysqlbinlog_row_trans.test
parent0c5bc2eafc95cb20f332becd295c29be95149700 (diff)
downloadmariadb-git-762df2d05c47466404dd48823f3d5fc22f8fc3f7.tar.gz
Additional fix for bug#31455 (rpl decoder)
- Implementing --base64-format=decode-rows, to display SQL-alike decoded row events without their BINLOG statements. - Adding --base64-format=decode-rows into tests when calling mysqlbinlog to avoid non-deterministic results - Removing resetting of last_table_id in "RESET MASTER", which appeared to be dangerous.
Diffstat (limited to 'mysql-test/t/mysqlbinlog_row_trans.test')
-rw-r--r--mysql-test/t/mysqlbinlog_row_trans.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/mysqlbinlog_row_trans.test b/mysql-test/t/mysqlbinlog_row_trans.test
index 646ffcce6a2..af0d8e4da1c 100644
--- a/mysql-test/t/mysqlbinlog_row_trans.test
+++ b/mysql-test/t/mysqlbinlog_row_trans.test
@@ -150,8 +150,8 @@ FLUSH LOGS;
--echo #
let $MYSQLD_DATADIR= `select @@datadir`;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
---replace_regex /SQL_LOAD_MB-[0-9]-[0-9]/SQL_LOAD_MB-#-#/ /exec_time=[0-9]*/exec_time=#/ /end_log_pos [0-9]*/end_log_pos #/ /# at [0-9]*/# at #/ /Xid = [0-9]*/Xid = #/ /thread_id=[0-9]*/thread_id=#/
---exec $MYSQL_BINLOG -v -v $MYSQLTEST_VARDIR/log/master-bin.000001
+--replace_regex /SQL_LOAD_MB-[0-9]-[0-9]/SQL_LOAD_MB-#-#/ /exec_time=[0-9]*/exec_time=#/ /end_log_pos [0-9]*/end_log_pos #/ /# at [0-9]*/# at #/ /Xid = [0-9]*/Xid = #/ /thread_id=[0-9]*/thread_id=#/ /table id [0-9]*/table id #/ /mapped to number [0-9]*/mapped to number #/
+--exec $MYSQL_BINLOG --base64-output=decode-rows -v -v $MYSQLTEST_VARDIR/log/master-bin.000001
--echo #
--echo # Cleanup.