You are here

public function Connection::ThrowDoomedTransactionException in Drupal driver for SQL Server and SQL Azure 8.2

Throws

PDOException

See also

https://github.com/Azure/msphpsql/issues/50

1 call to Connection::ThrowDoomedTransactionException()
Connection::commit in drivers/lib/Drupal/Driver/Database/sqlsrv/PDO/Connection.php

File

drivers/lib/Drupal/Driver/Database/sqlsrv/PDO/Connection.php, line 242

Class

Connection

Namespace

Drupal\Driver\Database\sqlsrv\PDO

Code

public function ThrowDoomedTransactionException() {
  throw new DoomedTransactionException("Msg 3930, Level 16, State 1, Line 21\r\nThe current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction.", 0, $this->doomed_transaction_exception);
}