mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
backport kill.test fix from 5.0
This commit is contained in:
@ -6,7 +6,7 @@ select ((@id := kill_id) - kill_id) from t1;
|
|||||||
0
|
0
|
||||||
kill @id;
|
kill @id;
|
||||||
select 1;
|
select 1;
|
||||||
ERROR HY000: MySQL server has gone away
|
Got one of the listed errors
|
||||||
select ((@id := kill_id) - kill_id) from t1;
|
select ((@id := kill_id) - kill_id) from t1;
|
||||||
((@id := kill_id) - kill_id)
|
((@id := kill_id) - kill_id)
|
||||||
0
|
0
|
||||||
|
@ -27,7 +27,7 @@ connection con1;
|
|||||||
|
|
||||||
--disable_reconnect
|
--disable_reconnect
|
||||||
# this statement should fail
|
# this statement should fail
|
||||||
--error 2006
|
--error 2006,2013
|
||||||
select 1;
|
select 1;
|
||||||
--enable_reconnect
|
--enable_reconnect
|
||||||
# this should work, and we should have a new connection_id()
|
# this should work, and we should have a new connection_id()
|
||||||
|
Reference in New Issue
Block a user