Dibi\Drivers\FirebirdDriver::rollback PHP Метод

rollback() публичный Метод

Rollback changes in a transaction.
public rollback ( $savepoint = NULL ) : void
Результат void
    public function rollback($savepoint = NULL)
    {
        if ($savepoint !== NULL) {
            throw new Dibi\NotSupportedException('Savepoints are not supported in Firebird/Interbase.');
        }
        if (!ibase_rollback($this->transaction)) {
            throw new Dibi\DriverException('Unable to handle operation - failure when rolbacking transaction.');
        }
        $this->inTransaction = FALSE;
    }