summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_log.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-07-04 17:14:31 -0600
committersasha@mysql.sashanet.com <>2001-07-04 17:14:31 -0600
commitc01d4e1ef7d739403cf3da8e642927fec4d75933 (patch)
tree7de23b11fd755130471c9d86c87da861f6161272 /mysql-test/t/rpl_log.test
parenta973b85527ddd2507787f24387a0e493ab622ace (diff)
downloadmariadb-git-c01d4e1ef7d739403cf3da8e642927fec4d75933.tar.gz
SHOW NEW MASTER FOR SLAVE WITH ...
Diffstat (limited to 'mysql-test/t/rpl_log.test')
-rw-r--r--mysql-test/t/rpl_log.test10
1 files changed, 10 insertions, 0 deletions
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;