5
5
SELECT USER_NAME, USER_LOCK_NAME FROM DATA_DICTIONARY.USER_LOCKS ORDER BY USER_LOCK_NAME, USER_NAME;
6
6
CREATE TABLE lock_state (a int);
7
7
EXECUTE "INSERT INTO lock_state SELECT GET_LOCK(\"mine\", 20)" CONCURRENT;
11
8
SELECT RELEASE_LOCK(@LOCK);