mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
9 lines
237 B
Text
9 lines
237 B
Text
drop table if exists t1;
|
|
create table t1 (kill_id int);
|
|
insert into t1 values(connection_id());
|
|
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;
|