db_unlock_tables

Definition

db_unlock_tables()
includes/database.pgsql.inc, line 378

Description

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

Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.

Code

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

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.