1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Bug#38540 rpl_server_id2 uses show slave status unnecessarily

a minor improvement to the test to ease merging.

mysql-test/suite/rpl/r/rpl_server_id2.result:
  results changed.
mysql-test/suite/rpl/t/rpl_server_id2.test:
  masking out the until_pos which value is out of interest but
  it presence hurts merging between trees.
This commit is contained in:
Andrei Elkin
2008-12-19 22:13:12 +02:00
parent 6a637271d6
commit f8fe9e0953
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