protected function DatabaseConnection::generateTemporaryTableName

7.x database.inc protected DatabaseConnection::generateTemporaryTableName()

Generates a temporary table name.

Return value

A table name.

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

File

drupal-7.x/includes/database/database.inc, line 1187
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

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