public function DatabaseContext::__destruct in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/context.inc \DatabaseContext::__destruct()
File
- sqlsrv/
context.inc, line 90
Class
- DatabaseContext
- Defines a behaviour scope for the database driver that lasts until the object is destroyed.
Code
public function __destruct() {
// Restore previous driver configuration.
$this->connection->bypassQueryPreprocess = $this->state_bypass;
$this->connection->directQuery = $this->state_direct;
$this->connection->statementCaching = $this->statement_caching;
}