Commit 2441ec87 authored by He Zhenxing's avatar He Zhenxing

Wait for slave to stop before set skip counter

parent 337029ca
...@@ -17,6 +17,9 @@ if ($show_sql_error) ...@@ -17,6 +17,9 @@ if ($show_sql_error)
echo Last_SQL_Error = $error; echo Last_SQL_Error = $error;
} }
# wait for SQL thread to stop after the error
source include/wait_for_slave_sql_to_stop.inc;
# skip the erroneous statement # skip the erroneous statement
set global sql_slave_skip_counter=1; set global sql_slave_skip_counter=1;
source include/start_slave.inc; source include/start_slave.inc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment