You are here

private static function DatabaseConnection_sqlsrv::DefaultTransactionIsolationLevelInStatement in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/database.inc \DatabaseConnection_sqlsrv::DefaultTransactionIsolationLevelInStatement()

The PDO constants do not matcc the actual isolation names used in SQL.

2 calls to DatabaseConnection_sqlsrv::DefaultTransactionIsolationLevelInStatement()
DatabaseConnection_sqlsrv::popCommittableTransactions in sqlsrv/database.inc
Internal function: commit all the transaction layers that can commit.
DatabaseConnection_sqlsrv::rollback in sqlsrv/database.inc
Overriden.

File

sqlsrv/database.inc, line 69
Database interface code for Microsoft SQL Server.

Class

DatabaseConnection_sqlsrv
Summary of DatabaseConnection_sqlsrv

Code

private static function DefaultTransactionIsolationLevelInStatement() {
  return str_replace('_', ' ', DatabaseUtils::GetConfigConstant('MSSQL_DEFAULT_ISOLATION_LEVEL', FALSE));
}