1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-20 05:03:09 +03:00
Files
mariadb/mysql-test/suite/pbxt/r/flush_read_lock_kill.result
2009-04-02 12:03:14 +02:00

13 lines
287 B
Plaintext

drop table if exists t1;
create table t1 (kill_id int);
insert into t1 values(connection_id());
select kill_id-kill_id from t1;
kill_id-kill_id
0
flush tables with read lock;
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
0
kill connection @id;
drop table t1;