mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
269f0a6871
don't send an OK packet if the SHOW PROCESSLIST was killed
17 lines
450 B
Text
17 lines
450 B
Text
#
|
|
# MDEV-6619 SHOW PROCESSLIST returns empty result set after KILL QUERY
|
|
#
|
|
--source include/not_embedded.inc
|
|
--enable_connect_log
|
|
--connect (con1,localhost,root,,)
|
|
--let $con_id = `SELECT CONNECTION_ID()`
|
|
--replace_column 1 # 3 # 6 # 7 #
|
|
SHOW PROCESSLIST;
|
|
--connection default
|
|
--replace_result $con_id con_id
|
|
eval KILL QUERY $con_id;
|
|
--connection con1
|
|
--error ER_QUERY_INTERRUPTED
|
|
SHOW PROCESSLIST;
|
|
--replace_column 1 # 3 # 6 # 7 #
|
|
SHOW PROCESSLIST;
|