Skip to content

Commit 96d097a

Browse files
committed
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
1 parent 41f42df commit 96d097a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/t/default_debug.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ select a,b,default(b) from t1;
1111
set debug_sync='after_Item_default_value_calculate WAIT_FOR go';
1212
send select a,b,default(b) from t1;
1313
connection default;
14+
let $wait_condition=select count(*) from information_schema.processlist where s
15+
source include/wait_condition.inc;
1416
set debug_sync='ha_write_row_start SIGNAL go';
1517
insert t1 values (100,default(b));
1618
connection con1;

0 commit comments

Comments
 (0)