summaryrefslogtreecommitdiff
path: root/mysql-test/r/kill.result
blob: f57c134b6d0bc3b030b1f2b2790d55e3ef68a4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
drop table if exists t1;
create table t1 (kill_id int);
insert into t1 values(connection_id());
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
0
kill @id;
select 4;
4
4
drop table t1;
select get_lock("a", 10);
get_lock("a", 10)
1
 select get_lock("a", 10);
get_lock("a", 10)
NULL
select 1;
1
1
select RELEASE_LOCK("a");
RELEASE_LOCK("a")
1