1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
This commit is contained in:
jimw@mysql.com
2005-04-04 23:03:56 -07:00
8 changed files with 93 additions and 17 deletions

View File

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