function db_unlock_tables in Drupal 5
Same name in this branch
- 5 includes/database.mysqli.inc \db_unlock_tables()
- 5 includes/database.mysql.inc \db_unlock_tables()
- 5 includes/database.pgsql.inc \db_unlock_tables()
Same name and namespace in other branches
- 4 includes/database.mysqli.inc \db_unlock_tables()
- 4 includes/database.mysql.inc \db_unlock_tables()
- 4 includes/database.pgsql.inc \db_unlock_tables()
- 6 includes/database.mysqli.inc \db_unlock_tables()
- 6 includes/database.mysql.inc \db_unlock_tables()
- 6 includes/database.pgsql.inc \db_unlock_tables()
Unlock all locked tables. This function automatically commits a transaction.
Related topics
3 calls to 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.
File
- includes/
database.pgsql.inc, line 386 - Database interface code for PostgreSQL database servers.
Code
function db_unlock_tables() {
db_query('COMMIT');
}