mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge
This commit is contained in:
@ -23,13 +23,15 @@ connection con2;
|
||||
select ((@id := kill_id) - kill_id) from t1;
|
||||
kill @id;
|
||||
|
||||
# Wait for thread to do.
|
||||
--sleep 5
|
||||
# verify that con1 is doning a reconnect
|
||||
connection con1;
|
||||
--ping
|
||||
--ping
|
||||
select ((@id := kill_id) - kill_id) from t1;
|
||||
|
||||
--disable_reconnect
|
||||
# this statement should fail
|
||||
--error 2006
|
||||
select 1;
|
||||
--enable_reconnect
|
||||
# this should work, and we should have a new connection_id()
|
||||
select ((@id := kill_id) - kill_id) from t1;
|
||||
select @id != connection_id();
|
||||
|
||||
#make sure the server is still alive
|
||||
|
Reference in New Issue
Block a user