1
###################################################
2
#Author: Mats (based on file written by Jeb)
4
#Purpose: To wait for slave SQL thread to start
6
# 1) Fill in and setup variables
7
# 2) loop through looking for both
8
# io and sql threads to start
9
# 3) If loops too long die.
10
####################################################
18
let $sql_result= query_get_value("SHOW SLAVE STATUS", Slave_SQL_Running, $row_number);
19
if (`SELECT '$sql_result' = 'Yes'`){
24
--echo "Failed while waiting for slave SQL to start"
25
query_vertical SHOW SLAVE STATUS;