Release explicit table locks. This statement releases all locks acquired by the current session with LOCK TABLES.
UNLOCK TABLESUNLOCK TABLES explicitly releases any table locks held by the current session. See for more information.
In addition to releasing table locks acquired by the statement, the UNLOCK TABLES statement also releases the global read lock acquired by the FLUSH TABLES WITH READ LOCK statement. The FLUSH TABLES WITH READ LOCK statement is very useful for performing backups. See for more information about FLUSH TABLES WITH READ LOCK.
This page is licensed: CC BY-SA / Gnu FDL