Check if a named lock is free. This function returns 1 if the specified lock is available (not currently held), and 0 if it is in use.
IS_FREE_LOCK(str)Checks whether the lock named str is free to use (that is, not locked). Returns 1 if the lock is free (no one is using the lock),0 if the lock is in use, and NULL if an error occurs (such as an incorrect argument, like an empty string or NULL). str is case insensitive.
If the plugin is installed, the table contains information about locks of this kind (as well as ).
Statements using the IS_FREE_LOCK function are .
This page is licensed: GPLv2, originally from