summaryrefslogtreecommitdiff
path: root/mysql-test/t/kill.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-01-06 00:47:49 +0200
committermonty@mysql.com <>2006-01-06 00:47:49 +0200
commit6e22e29de669b95aefc4f5f7ce46420e52c99870 (patch)
treecd157631ca39d533f8aa37ebb570f304e91c81e2 /mysql-test/t/kill.test
parent88eee63d8c02e5a4b3ac39c0ed31794dcf243a29 (diff)
downloadmariadb-git-6e22e29de669b95aefc4f5f7ce46420e52c99870.tar.gz
Review fixes of new pushed code
- Fixed tests - Optimized new code - Fixed some unlikely core dumps - Better bug fixes for: - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
Diffstat (limited to 'mysql-test/t/kill.test')
-rw-r--r--mysql-test/t/kill.test13
1 files changed, 10 insertions, 3 deletions
diff --git a/mysql-test/t/kill.test b/mysql-test/t/kill.test
index 7f3a9932d31..c50c35825fc 100644
--- a/mysql-test/t/kill.test
+++ b/mysql-test/t/kill.test
@@ -25,11 +25,18 @@ select ((@id := kill_id) - kill_id) from t1;
kill @id;
connection con1;
---sleep 1
+--sleep 2
-# this statement should fail
---error 2006,2013
+--disable_query_log
+--disable_result_log
+# One of the following statements should fail
+--error 0,2006,2013
select 1;
+--error 0,2006,2013
+select 1;
+--enable_query_log
+--enable_result_log
+
--enable_reconnect
# this should work, and we should have a new connection_id()
select ((@id := kill_id) - kill_id) from t1;