1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-05 12:42:17 +03:00

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
This commit is contained in:
Sergei Golubchik
2017-02-14 16:45:51 +01:00
parent 41f42dff06
commit 96d097a7fa

View File

@ -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;