summaryrefslogtreecommitdiff
path: root/mysql-test/t/kill.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/kill.test')
-rw-r--r--mysql-test/t/kill.test7
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/t/kill.test b/mysql-test/t/kill.test
index 9ef5e272d46..50c4239b45e 100644
--- a/mysql-test/t/kill.test
+++ b/mysql-test/t/kill.test
@@ -39,9 +39,12 @@ select @id != connection_id();
connection con2;
select 4;
drop table t1;
-
-disconnect con2;
connection default;
+disconnect con2;
+
+--error 1064
+kill (select count(*) from mysql.user);
+
#
# BUG#14851: killing long running subquery processed via a temporary table.
#