Commit 4a029b80 authored by Georgi Kodinov's avatar Georgi Kodinov
Browse files

on behalf of jasonh : fix of a test problem re bug#37051:

Wait for slave to stop before set skip counter
parent 4c318bf6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ if ($show_sql_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
set global sql_slave_skip_counter=1;
start slave;