mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -5,6 +5,12 @@ select ((@id := kill_id) - kill_id) from t1;
|
||||
((@id := kill_id) - kill_id)
|
||||
0
|
||||
kill @id;
|
||||
select ((@id := kill_id) - kill_id) from t1;
|
||||
((@id := kill_id) - kill_id)
|
||||
0
|
||||
select @id != connection_id();
|
||||
@id != connection_id()
|
||||
1
|
||||
select 4;
|
||||
4
|
||||
4
|
||||
|
Reference in New Issue
Block a user