19
19
--real_sleep 3 # wait for I/O thread to have read updates
21
source include/wait_for_slave_to_stop.inc;
23
let $read_pos= query_get_value(SHOW SLAVE STATUS, Read_Master_Log_Pos, 1);
24
let $exec_pos= query_get_value(SHOW SLAVE STATUS, Exec_Master_Log_Pos, 1);
25
if (`SELECT $read_pos = $exec_pos`)
27
source include/show_rpl_debug_info.inc;
28
echo 'Read_Master_Log_Pos: $read_pos' == 'Exec_Master_Log_Pos: $exec_pos';
29
die Failed because Read_Master_Log_Pos is equal to Exec_Master_Log_Pos;
21
--replace_result $MASTER_MYPORT MASTER_MYPORT
22
--replace_column 1 # 7 # 8 # 9 # 23 # 33 #
31
24
change master to master_user='root';
32
let $read_pos= query_get_value(SHOW SLAVE STATUS, Read_Master_Log_Pos, 1);
33
let $exec_pos= query_get_value(SHOW SLAVE STATUS, Exec_Master_Log_Pos, 1);
34
if (`SELECT $read_pos <> $exec_pos`)
36
source include/show_rpl_debug_info.inc;
37
echo 'Read_Master_Log_Pos: $read_pos' <> 'Exec_Master_Log_Pos: $exec_pos';
38
die Failed because Read_Master_Log_Pos is not equal to Exec_Master_Log_Pos;
25
--replace_result $MASTER_MYPORT MASTER_MYPORT
26
--replace_column 1 # 7 # 8 # 9 # 23 # 33 #