src/ORM/Connect/MySQLDatabase.php
protected function resetTransactionNesting()
    {
        // Check whether to use a connector's built-in transaction methods
        if ($this->connector instanceof TransactionalDBConnector) {
            if ($this->transactionNesting > 0) {
                $this->connector->transactionRollback();
            }
        }
        $this->transactionNesting = 0;
    }
protected function resetTransactionNesting()
    {
        // Check whether to use a connector's built-in transaction methods
        if ($this->connector instanceof TransactionalDBConnector) {
            if ($this->transactionNesting > 0) {
                $this->connector->transactionRollback();
            }
        }
        $this->transactionNesting = 0;
    }
protected function resetTransactionNesting ( ) { // Check whether to use a connector's built-in transaction methods if ( $ this -> connector instanceof TransactionalDBConnector ) { if ( $ this -> transactionNesting > 0 ) { $ this -> connector -> transactionRollback ( ) ; } } $ this -> transactionNesting = 0 ; }
In error condition, set transactionNesting to zero
In error condition set transactionNesting to zero