summaryrefslogtreecommitdiff
path: root/mysql-test/extra
diff options
context:
space:
mode:
authorSerge Kozlov <Serge.Kozlov@sun.com>2009-02-02 14:44:18 +0300
committerSerge Kozlov <Serge.Kozlov@sun.com>2009-02-02 14:44:18 +0300
commit56fa0959071bf46ad659fdda9cefad116ea6a99c (patch)
treea9c899a2ddda28b9bc6ed77606b969f32972e9e8 /mysql-test/extra
parentc08fe02122141a1e2cb736edb11466e117f095cf (diff)
downloadmariadb-git-56fa0959071bf46ad659fdda9cefad116ea6a99c.tar.gz
Post-merge patch for extra/rpl_test/rpl_log.test:
Remove size of binlog file from SHOW BINARY LOGS. Changing size of binlog file is an affect of adding or removing events to/from binlog and it can be checked in next command of test: SHOW BINLOG EVENTS. For SHOW BINARY LOGS statement enough to show the list of file names.
Diffstat (limited to 'mysql-test/extra')
-rw-r--r--mysql-test/extra/rpl_tests/rpl_log.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_log.test b/mysql-test/extra/rpl_tests/rpl_log.test
index 83b780394b9..e4ebfd68761 100644
--- a/mysql-test/extra/rpl_tests/rpl_log.test
+++ b/mysql-test/extra/rpl_tests/rpl_log.test
@@ -71,6 +71,7 @@ connection master;
select * from t1 order by 1 asc;
sync_slave_with_master;
+
#check t1 on slave to ensure whether it's identical with on master
select * from t1 order by 1 asc;
flush logs;
@@ -88,9 +89,11 @@ source include/show_binlog_events.inc;
--replace_column 2 # 5 #
--replace_regex /\/\* xid=.* \*\//\/* XID *\// /table_id: [0-9]+/table_id: #/
show binlog events in 'master-bin.000002';
+--replace_column 2 #
show binary logs;
sync_slave_with_master;
--source include/wait_for_slave_to_start.inc
+--replace_column 2 #
show binary logs;
--replace_result $MASTER_MYPORT MASTER_PORT $VERSION VERSION
--replace_column 2 # 5 #