2013-06-13 20:19:32 +02:00
|
|
|
SET DEBUG_SYNC = 'dispatch_command_before_set_time WAIT_FOR do_set_time';
|
|
|
|
SELECT 1;
|
|
|
|
SET DEBUG_SYNC = 'fill_schema_processlist_after_unow SIGNAL do_set_time WAIT_FOR fill_schema_proceed';
|
2014-10-22 13:51:33 +02:00
|
|
|
SELECT ID, TIME,TIME_MS FROM INFORMATION_SCHEMA.PROCESSLIST WHERE CONCAT(":", ID, ":") = ":TID:";
|
2013-06-13 20:19:32 +02:00
|
|
|
1
|
|
|
|
1
|
|
|
|
SET DEBUG_SYNC = 'now SIGNAL fill_schema_proceed';
|
2014-10-22 13:51:33 +02:00
|
|
|
ID TIME TIME_MS
|
|
|
|
TID 0 0.000
|
2015-01-06 16:32:41 +01:00
|
|
|
set debug_sync='reset';
|
|
|
|
SET debug_dbug="+d,sleep_inject_query_done_debug_sync";
|
2013-07-01 12:02:44 +02:00
|
|
|
select sleep(5);
|
|
|
|
sleep(5)
|
|
|
|
0
|
2014-10-22 13:51:33 +02:00
|
|
|
SET DEBUG_SYNC = 'now WAIT_FOR query_done';
|
2013-07-01 12:02:44 +02:00
|
|
|
select command, time < 5 from information_schema.processlist where id != connection_id();
|
|
|
|
command time < 5
|
|
|
|
Sleep 1
|
2014-01-27 12:10:53 +01:00
|
|
|
set debug_sync='reset';
|