db_unlock_tables

  1. drupal
    1. 4.7 database.mysqli.inc
    2. 4.7
    3. 4.7 database.mysql.inc
    4. 5 database.mysqli.inc
    5. 5
    6. 5 database.mysql.inc
    7. 6 database.mysql.inc
    8. 6 database.pgsql.inc
    9. 6 database.mysqli.inc
Versions
4.7 – 6 db_unlock_tables()

Unlock all locked tables. This function automatically commits a transaction.

Related topics

▾ 3 functions call db_unlock_tables()

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

Code

includes/database.pgsql.inc, line 387

<?php
function db_unlock_tables() {
  db_query('COMMIT');
}
?>