File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
mysql-test/suite/engines/funcs/r Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
include/master-slave.inc
2
2
[connection master]
3
+ connection master;
3
4
CREATE TABLE t1(n INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
4
5
INSERT INTO t1 VALUES (1),(2),(3),(4);
5
6
DROP TABLE t1;
6
7
CREATE TABLE t2(n INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
7
8
INSERT INTO t2 VALUES (1),(2);
9
+ connection slave;
10
+ connection master;
8
11
INSERT INTO t2 VALUES (3),(4);
9
12
DROP TABLE t2;
13
+ connection slave;
10
14
include/stop_slave.inc
11
15
RESET SLAVE;
16
+ connection slave;
12
17
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_drop_t1
13
18
include/wait_for_slave_sql_to_stop.inc
14
19
SELECT * FROM t1;
36
41
include/check_slave_param.inc [Exec_Master_Log_Pos]
37
42
START SLAVE;
38
43
include/wait_for_slave_to_start.inc
44
+ connection master;
45
+ connection slave;
39
46
include/stop_slave.inc
40
47
START SLAVE SQL_THREAD UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_create_t2
41
48
include/wait_for_slave_param.inc [Until_Log_Pos]
You can’t perform that action at this time.
0 commit comments