Debian Codegraph @

mysql-test/suite/rpl/r/rpl_server_id2.result

raw
1 include/master-slave.inc
2 [connection master]
3 connection slave;
4 include/stop_slave.inc
5 CHANGE MASTER TO MASTER_USE_GTID=NO;
6 include/start_slave.inc
7 create table t1 (n int);
8 reset master;
9 stop slave;
10 include/wait_for_slave_to_stop.inc
11 change master to master_port=SLAVE_PORT;
12 start slave;
13 include/wait_for_slave_to_start.inc
14 insert into t1 values (1);
15 select * from t1;
16 n
17 1
18 1
19 stop slave;
20 include/wait_for_slave_to_stop.inc
21 drop table t1;
22 connection master;
23 reset master;
24 create table t1(n int);
25 create table t2(n int);
26 connection slave;
27 change master to master_port=MASTER_PORT;
28 start slave until master_log_file='master-bin.000001', master_log_pos=UNTIL_POS;
29 include/wait_for_slave_io_to_start.inc
30 include/wait_for_slave_sql_to_stop.inc
31 *** checking until position execution: must be only t1 in the list ***
32 show tables;
33 Tables_in_test
34 t1
35 connection slave;
36 start slave sql_thread;
37 connection master;
38 drop table t1;
39 drop table t2;
40 connection slave;
41 include/rpl_end.inc