MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

14.14 Locking Functions

This section describes functions used to manipulate user-level locks.

Table 14.19 Locking Functions

Name Description
GET_LOCK() Get a named lock
IS_FREE_LOCK() Whether the named lock is free
IS_USED_LOCK() Whether the named lock is in use; return connection identifier if true
RELEASE_ALL_LOCKS() Release all current named locks
RELEASE_LOCK() Release the named lock