Commit 96d097a7 authored by Sergei Golubchik's avatar Sergei Golubchik

sporadic failures of main.default_debug

wait for the first connection to reach the debug sync point
before letting the second connection do its stuff
parent 41f42dff
......@@ -11,6 +11,8 @@ select a,b,default(b) from t1;
set debug_sync='after_Item_default_value_calculate WAIT_FOR go';
send select a,b,default(b) from t1;
connection default;
let $wait_condition=select count(*) from information_schema.processlist where s
source include/wait_condition.inc;
set debug_sync='ha_write_row_start SIGNAL go';
insert t1 values (100,default(b));
connection con1;
......
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