summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result')
-rw-r--r--mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result b/mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result
index 1bda3bd3ee1..7218fe96dd2 100644
--- a/mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result
+++ b/mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result
@@ -1,5 +1,6 @@
include/master-slave.inc
[connection master]
+connection master;
show binary logs;
Log_name File_size
master-bin.000001 #
@@ -7,6 +8,7 @@ create table t1 (f text) engine=innodb;
SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
SET DEBUG_SYNC = 'after_purge_logs_before_date SIGNAL continued';
insert into t1 set f=repeat('a', 4096);
+connection master1;
*** there must be two logs in the list ***
show binary logs;
Log_name File_size
@@ -22,13 +24,19 @@ master-bin.000003 #
SET DEBUG_SYNC = 'now SIGNAL rotated';
SET DEBUG_SYNC = 'now WAIT_FOR continued';
SET DEBUG_SYNC = 'RESET';
+connection master;
SET DEBUG_SYNC = 'RESET';
+connection slave;
+connection master;
SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
SET DEBUG_SYNC = 'after_purge_logs_before_date SIGNAL continued';
insert into t1 set f=repeat('b', 4096);
+connection master1;
SET DEBUG_SYNC = 'now SIGNAL rotated';
SET DEBUG_SYNC = 'now WAIT_FOR continued';
SET DEBUG_SYNC = 'RESET';
+connection master;
SET DEBUG_SYNC = 'RESET';
drop table t1;
+connection slave;
include/rpl_end.inc