diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-09-12 08:41:35 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-09-12 08:41:35 +0200 |
commit | 269f0a6871e68162c9dd3308b078ab7e48d73d44 (patch) | |
tree | 53ccefa0d5b31b05e9146269037c820b0fb53b75 /mysql-test/t/kill_processlist-6619.test | |
parent | 3d9452363848a5de70260f5b72900fb016075b3c (diff) | |
download | mariadb-git-269f0a6871e68162c9dd3308b078ab7e48d73d44.tar.gz |
MDEV-6619 SHOW PROCESSLIST returns empty result set after KILL QUERY
don't send an OK packet if the SHOW PROCESSLIST was killed
Diffstat (limited to 'mysql-test/t/kill_processlist-6619.test')
-rw-r--r-- | mysql-test/t/kill_processlist-6619.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/kill_processlist-6619.test b/mysql-test/t/kill_processlist-6619.test new file mode 100644 index 00000000000..2333f02eac6 --- /dev/null +++ b/mysql-test/t/kill_processlist-6619.test @@ -0,0 +1,17 @@ +# +# 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; |