db_unlock_tables

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 386

<?php
function db_unlock_tables() {
  db_query('COMMIT');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.