1connect  con1,localhost,root,,;
2SHOW PROCESSLIST;
3Id	User	Host	db	Command	Time	State	Info	Progress
4#	root	#	test	Sleep	#	#	NULL	0.000
5#	root	#	test	Query	#	#	SHOW PROCESSLIST	0.000
6SET DEBUG_SYNC='before_execute_sql_command SIGNAL ready WAIT_FOR go';
7SHOW PROCESSLIST;
8connection default;
9SET DEBUG_SYNC='now WAIT_FOR ready';
10KILL QUERY con_id;
11SET DEBUG_SYNC='now SIGNAL go';
12connection con1;
13ERROR 70100: Query execution was interrupted
14SET DEBUG_SYNC='reset';
15SHOW PROCESSLIST;
16Id	User	Host	db	Command	Time	State	Info	Progress
17#	root	#	test	Sleep	#	#	NULL	0.000
18#	root	#	test	Query	#	#	SHOW PROCESSLIST	0.000
19