3
# Assert that the slave threads are running and don't have any errors.
7
# --source include/check_slave_running.inc
9
--echo Checking that both slave threads are running.
11
--let $slave_sql_running = query_get_value(SHOW SLAVE STATUS, Slave_SQL_Running, 1)
12
--let $slave_io_running = query_get_value(SHOW SLAVE STATUS, Slave_IO_Running, 1)
14
if (`SELECT '$slave_sql_running' != 'Yes' OR '$slave_io_running' != 'Yes'`) {
15
--echo Slave not running: Slave_SQL_Running = $slave_sql_running Slave_IO_Running = $slave_io_running
16
--source include/show_rpl_debug_info.inc
17
--die Expected slave to be running, but it was not running.