10 lines
347 B
PHP
10 lines
347 B
PHP
-- sync_slave_with_master
|
|
-- let $scan_alg= query_get_value(SHOW STATUS LIKE "Slave_rows_last_search_algorithm_used", Value, 1)
|
|
if (`SELECT '$scan_alg' <> $expected_alg`)
|
|
{
|
|
-- source include/show_rpl_debug_info.inc
|
|
-- echo Unexcepted search algorithm at the slave: got $scan_alg, expected: $expected_alg
|
|
-- die
|
|
}
|
|
-- connection master
|