src/DBRedshift.php
public function rollBack() {
		if ($this->_transactionDepth == 0) {
			throw new PDOException('Rollback error : There is no transaction started');
		}

		$this->_transactionDepth--;

		if ($this->_transactionDepth == 0) {
			parent::rollBack();
		} else {
			$this->exec("ROLLBACK TO SAVEPOINT LEVEL{$this->_transactionDepth}");
		}
	}
public function rollBack() {
		if ($this->_transactionDepth == 0) {
			throw new PDOException('Rollback error : There is no transaction started');
		}

		$this->_transactionDepth--;

		if ($this->_transactionDepth == 0) {
			parent::rollBack();
		} else {
			$this->exec("ROLLBACK TO SAVEPOINT LEVEL{$this->_transactionDepth}");
		}
	}
public function rollBack ( ) { if ( $ this -> _transactionDepth == 0 ) { throw new PDOException ( 'Rollback error : There is no transaction started' ) ; } $ this -> _transactionDepth -- ; if ( $ this -> _transactionDepth == 0 ) { parent :: rollBack ( ) ; } else { $ this -> exec ( "ROLLBACK TO SAVEPOINT LEVEL{$this->_transactionDepth}" ) ; } }
Rollback current transaction,

@throws PDOException if there is no transaction started
@return bool|void
Rollback current transaction