You are here

protected function DatabaseConnection::generateTemporaryTableName in Drupal 7

Generates a temporary table name.

Return value

A table name.

3 calls to DatabaseConnection::generateTemporaryTableName()
DatabaseConnection_mysql::queryTemporary in includes/database/mysql/database.inc
Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_pgsql::queryTemporary in includes/database/pgsql/database.inc
Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_sqlite::queryTemporary in includes/database/sqlite/database.inc
Runs a SELECT query and stores its results in a temporary table.

File

includes/database/database.inc, line 1259
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

protected function generateTemporaryTableName() {
  return "db_temporary_" . $this->temporaryNameIndex++;
}