db_unlock_tables

5 database.pgsql.inc db_unlock_tables()
5 database.mysql.inc db_unlock_tables()
5 database.mysqli.inc db_unlock_tables()
6 database.mysql.inc db_unlock_tables()
6 database.pgsql.inc db_unlock_tables()
6 database.mysqli.inc db_unlock_tables()

Unlock all locked tables.

Related topics

File

includes/database.mysqli.inc, line 342
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');
}
Login or register to post comments