You are here

function db_unlock_tables in Drupal 4

Same name in this branch
  1. 4 includes/database.mysqli.inc \db_unlock_tables()
  2. 4 includes/database.mysql.inc \db_unlock_tables()
  3. 4 includes/database.pgsql.inc \db_unlock_tables()
Same name and namespace in other branches
  1. 5 includes/database.mysqli.inc \db_unlock_tables()
  2. 5 includes/database.mysql.inc \db_unlock_tables()
  3. 5 includes/database.pgsql.inc \db_unlock_tables()
  4. 6 includes/database.mysqli.inc \db_unlock_tables()
  5. 6 includes/database.mysql.inc \db_unlock_tables()
  6. 6 includes/database.pgsql.inc \db_unlock_tables()

Unlock all locked tables.

Related topics

3 calls to db_unlock_tables()
cache_set in includes/bootstrap.inc
Store data in the persistent cache.
variable_set in includes/bootstrap.inc
Set a persistent variable.
_block_rehash in modules/block.module
Update the 'blocks' DB table with the blocks currently exported by modules.

File

includes/database.mysqli.inc, line 349
Database interface code for MySQL database servers using the mysqli client libraries. mysqli is included in PHP 5 by default and allows developers to use the advanced features of MySQL 4.1.x, 5.0.x and beyond.

Code

function db_unlock_tables() {
  db_query('UNLOCK TABLES');
}