3 # Waits the SQL thread of the current connection has started, or until
4 # a timeout is reached.
8 # [--let $slave_timeout= NUMBER]
9 # [--let $rpl_debug= 1]
10 # --source include/wait_for_slave_sql_to_start.inc
14 # See include/wait_for_slave_param.inc
17 # See include/rpl_init.inc
20 --let $include_filename= wait_for_slave_sql_to_start.inc
21 --source include/begin_include_file.inc
24 let $slave_param= Slave_SQL_Running;
25 let $slave_param_value= Yes;
27 # Unfortunately, the slave sql thread sets Slave_SQL_Running=Yes
28 # *before* it clears Last_SQL_Errno. So we have to allow errors in
29 # the SQL thread here.
31 #--let $slave_error_param= Last_SQL_Errno
32 source include/wait_for_slave_param.inc;
33 #--let $slave_error_param=
36 --let $include_filename= wait_for_slave_sql_to_start.inc
37 --source include/end_include_file.inc