You are here

public function Transaction::rollback in Drupal driver for SQL Server and SQL Azure 8.2

Same name and namespace in other branches
  1. 8 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 103
Definition of Drupal\Driver\Database\sqlsrv\Transaction

Class

Transaction

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function rollback() {
  $this->rolledBack = true;
  $this->connection
    ->rollback($this->name);
}