1DROP TABLE IF EXISTS t1;
2CREATE TABLE t1 (n INT);
3INSERT INTO t1 VALUES (1),(2),(3);
4SELECT * FROM t1;
5n
61
72
83
9DROP TABLE t1;
10SELECT GET_LOCK("dangling", 0);
11GET_LOCK("dangling", 0)
121
13SELECT GET_LOCK('dangling', 3600);;
14SELECT GET_LOCK('dangling', 3600);;
15SELECT RELEASE_LOCK('dangling');
16RELEASE_LOCK('dangling')
171
18GET_LOCK('dangling', 3600)
191
20