mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
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:
parent
e7c9998119
commit
44bac2ea9c
4 changed files with 12 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue