1
###################################################
4
#Purpose: used for io errors on the slave. If Slave gets an io
5
# error, the io trhead should stop
7
# 1) Fill in and setup variables
8
# 2) loop through looking for
10
# 3) If loops too long die.
11
####################################################
13
let $my_show= SHOW SLAVE STATUS;
14
let $sql_running= Slave_IO_Running;
21
let $io_result= query_get_value("SHOW SLAVE STATUS", Slave_IO_Running, $row_number);
22
if (`SELECT '$io_result' = 'No'`){
27
--echo "Failed while waiting for slave IO thread to stop"
28
query_vertical SHOW SLAVE STATUS;