mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
3226787bba
This reverts commit 8b3f470c0b
.
because it doesn't work, the test still fails, and even more than before
31 lines
986 B
Text
31 lines
986 B
Text
SET DEBUG_SYNC='dispatch_command_end2 SIGNAL ready EXECUTE 3';
|
|
connect con1,localhost,root,,;
|
|
SET DEBUG_SYNC='now wait_for ready';
|
|
connection default;
|
|
SET DEBUG_SYNC='dispatch_command_end WAIT_FOR go EXECUTE 2';
|
|
select 1;
|
|
connection con1;
|
|
SET DEBUG_SYNC='now signal go';
|
|
SET DEBUG_SYNC='now wait_for ready';
|
|
SET DEBUG_SYNC='now signal go';
|
|
SET DEBUG_SYNC='now wait_for ready';
|
|
SET DEBUG_SYNC='RESET';
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info Progress
|
|
# root # test Sleep # # NULL 0.000
|
|
# root # test Query # # SHOW PROCESSLIST 0.000
|
|
SET DEBUG_SYNC='before_execute_sql_command SIGNAL ready WAIT_FOR go';
|
|
SHOW PROCESSLIST;
|
|
connection default;
|
|
1
|
|
1
|
|
SET DEBUG_SYNC='now WAIT_FOR ready';
|
|
KILL QUERY con_id;
|
|
SET DEBUG_SYNC='now SIGNAL go';
|
|
connection con1;
|
|
ERROR 70100: Query execution was interrupted
|
|
SET DEBUG_SYNC='reset';
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info Progress
|
|
# root # test Sleep # # NULL 0.000
|
|
# root # test Query # # SHOW PROCESSLIST 0.000
|