1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-26 01:44:06 +03:00

Bug#38540 rpl_server_id2 uses show slave status unnecessarily

a minor improvement to the test to ease merging.
This commit is contained in:
Andrei Elkin
2008-12-19 22:13:12 +02:00
parent 1c8dc3e211
commit 50fa9c57fa
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ reset master;
create table t1(n int);
create table t2(n int);
change master to master_port=MASTER_PORT;
start slave until master_log_file='master-bin.000001', master_log_pos=107;
start slave until master_log_file='master-bin.000001', master_log_pos=UNTIL_POS;
*** checking until postion execution: must be only t1 in the list ***
show tables;
Tables_in_test

View File

@@ -42,6 +42,7 @@ create table t2(n int);
connection slave;
--replace_result $MASTER_MYPORT MASTER_PORT
eval change master to master_port=$MASTER_MYPORT;
--replace_result $until_pos UNTIL_POS
eval start slave until master_log_file='master-bin.000001', master_log_pos=$until_pos;
--source include/wait_for_slave_io_to_start.inc
--source include/wait_for_slave_sql_to_stop.inc