From c01d4e1ef7d739403cf3da8e642927fec4d75933 Mon Sep 17 00:00:00 2001 From: "sasha@mysql.sashanet.com" <> Date: Wed, 4 Jul 2001 17:14:31 -0600 Subject: SHOW NEW MASTER FOR SLAVE WITH ... --- mysql-test/t/rpl_log.test | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mysql-test/t/rpl_log.test') diff --git a/mysql-test/t/rpl_log.test b/mysql-test/t/rpl_log.test index 9ac6e7ab6b8..426553b4bdc 100644 --- a/mysql-test/t/rpl_log.test +++ b/mysql-test/t/rpl_log.test @@ -36,3 +36,13 @@ show master logs; show binlog events in 'slave-bin.001' from 4; show binlog events in 'slave-bin.002' from 4; show slave status; +show new master for slave with master_log_file='master-bin.001' and + master_log_pos=4 and master_log_seq=1 and master_server_id=1; +show new master for slave with master_log_file='master-bin.001' and + master_log_pos=79 and master_log_seq=2 and master_server_id=1; +show new master for slave with master_log_file='master-bin.001' and + master_log_pos=311 and master_log_seq=6 and master_server_id=1; +show new master for slave with master_log_file='master-bin.002' and + master_log_pos=4 and master_log_seq=1 and master_server_id=1; +show new master for slave with master_log_file='master-bin.002' and + master_log_pos=137 and master_log_seq=3 and master_server_id=1; -- cgit v1.2.1