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

kill of active connection yields different error code
depending on platform.
This commit is contained in:
Calvin Sun 2010-04-22 14:16:14 -05:00
parent e7c9998119
commit 44bac2ea9c
4 changed files with 12 additions and 4 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;