public function Transaction::rollback in Drupal driver for SQL Server and SQL Azure 8
Same name and namespace in other branches
- 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Transaction.php \Drupal\Driver\Database\sqlsrv\Transaction::rollback()
1 call to Transaction::rollback()
- Transaction::__destruct in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Transaction.php - Overriden __destruct to provide some mental health (sane support).
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Transaction.php, line 130 - Definition of Drupal\Driver\Database\sqlsrv\Transaction
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function rollback() {
$this->rolledBack = TRUE;
// Do not pop the transaction if this features is not enable.
if ($this->connection->driver_settings
->GetEnableTransactions() === FALSE) {
return;
}
$this->connection
->rollback($this->name);
}