Advertisement
krot

GET_LOCK

Aug 27th, 2019
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.11 KB | None | 0 0
  1. SELECT GET_LOCK('READQUEUE');
  2. SELECT * FROM jobs;
  3. DELETE FROM JOBS WHERE ID = ?;
  4. SELECT RELEASE_LOCK('READQUEUE');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement