Commit 5bad43c1 authored by Calvin Sun's avatar Calvin Sun

mysql-5.1-innodb: add error codes to innodb_bug51920.test

kill of active connection yields different error code
depending on platform.
parent 4b2b0559
......@@ -9,5 +9,5 @@ SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE INFO="UPDATE bug51920 SET i=2"
INTO @thread_id;
KILL @thread_id;
ERROR 70100: Query execution was interrupted
Got one of the listed errors
DROP TABLE bug51920;
......@@ -31,8 +31,12 @@ let $wait_condition =
SELECT COUNT(*)=0 FROM information_schema.processlist WHERE ID=@thread_id;
-- source include/wait_condition.inc
#
# Bug#19723: kill of active connection yields different error code
# depending on platform.
#
connection con1;
-- error ER_QUERY_INTERRUPTED
-- error 1317, 2006, 2013
reap;
connection default;
DROP TABLE bug51920;
......
......@@ -9,5 +9,5 @@ SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE INFO="UPDATE bug51920 SET i=2"
INTO @thread_id;
KILL @thread_id;
ERROR 70100: Query execution was interrupted
Got one of the listed errors
DROP TABLE bug51920;
......@@ -31,8 +31,12 @@ let $wait_condition =
SELECT COUNT(*)=0 FROM information_schema.processlist WHERE ID=@thread_id;
-- source include/wait_condition.inc
#
# Bug#19723: kill of active connection yields different error code
# depending on platform.
#
connection con1;
-- error ER_QUERY_INTERRUPTED
-- error 1317, 2006, 2013
reap;
connection default;
DROP TABLE bug51920;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment