mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix 'kill' test to actually test that the connection has
been killed. mysql-test/r/kill.result: Update results mysql-test/t/kill.test: Fix 'ping' to be '--ping' and make test that this is a new connection actually test that.
This commit is contained in:
@@ -27,8 +27,9 @@ kill @id;
|
||||
--sleep 5
|
||||
# verify that con1 is doning a reconnect
|
||||
connection con1;
|
||||
ping
|
||||
ping
|
||||
--ping
|
||||
--ping
|
||||
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