2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
1
include/master-slave.inc
8
4
include/stop_slave.inc
9
5
==== Create some events on master ====
18
14
==== Replicate one event at a time on slave ====
20
16
start slave until master_log_file='MASTER_LOG_FILE', master_log_pos=MASTER_LOG_POS;
17
include/wait_for_slave_io_to_start.inc
18
include/wait_for_slave_sql_to_stop.inc
25
include/check_slave_param.inc [Exec_Master_Log_Pos]
27
26
start slave until master_log_file='master-no-such-bin.000001', master_log_pos=MASTER_LOG_POS;
27
include/wait_for_slave_io_to_start.inc
28
include/wait_for_slave_sql_to_stop.inc
34
start slave until relay_log_file='slave-relay-bin.000004', relay_log_pos=RELAY_LOG_POS;
35
include/check_slave_param.inc [Exec_Master_Log_Pos]
36
start slave until relay_log_file='slave-relay-bin.000003', relay_log_pos=RELAY_LOG_POS;
37
include/wait_for_slave_io_to_start.inc
38
include/wait_for_slave_sql_to_stop.inc
43
include/check_slave_param.inc [Exec_Master_Log_Pos]
42
47
include/stop_slave.inc
43
48
start slave until master_log_file='MASTER_LOG_FILE', master_log_pos=MASTER_LOG_POS;
49
include/wait_for_slave_io_to_start.inc
50
include/wait_for_slave_sql_to_stop.inc
51
include/check_slave_param.inc [Exec_Master_Log_Pos]
44
52
==== Test various error conditions ====
45
53
start slave until master_log_file='master-bin', master_log_pos=MASTER_LOG_POS;
46
54
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
88
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
91
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
93
drop table if exists t1;
95
Note 1051 Unknown table 't1'
99
100
start slave until master_log_file='master-bin.000001', master_log_pos=294 /* to stop right before DROP */;
101
include/wait_for_slave_sql_to_stop.inc
100
102
show tables /* t1 must exist */;