summaryrefslogtreecommitdiff
path: root/mysql-test/r/kill_processlist-6619.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2015-01-19 14:07:41 +0100
committerSergei Golubchik <sergii@pisem.net>2015-01-19 14:07:41 +0100
commit56c323c10f4e37318255c9d386e650e1513322e1 (patch)
treeec8ed1dc373c04a31d909268ad066f1d2783357c /mysql-test/r/kill_processlist-6619.result
parentb4cd8a8a5afd28d55d6ea2d795819098490c944e (diff)
downloadmariadb-git-56c323c10f4e37318255c9d386e650e1513322e1.tar.gz
MDEV-6728 KILL QUERY executed on an idle connection can interrupt the next query
reset KILL_QUERY when a new query execution is just about to be started
Diffstat (limited to 'mysql-test/r/kill_processlist-6619.result')
-rw-r--r--mysql-test/r/kill_processlist-6619.result4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/r/kill_processlist-6619.result b/mysql-test/r/kill_processlist-6619.result
index 588c8e6d139..8cb9fe7270c 100644
--- a/mysql-test/r/kill_processlist-6619.result
+++ b/mysql-test/r/kill_processlist-6619.result
@@ -3,10 +3,12 @@ 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 WAIT_FOR go';
+SHOW PROCESSLIST;
connection default;
KILL QUERY con_id;
+SET DEBUG_SYNC='now SIGNAL go';
connection con1;
-SHOW PROCESSLIST;
ERROR 70100: Query execution was interrupted
SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress