public function commit()
    {
        --$this->currentTransactionLevel;
        if ($this->currentTransactionLevel == 0 || !$this->nestable()) {
            parent::commit();
        } else {
            $this->exec("RELEASE SAVEPOINT LEVEL{$this->currentTransactionLevel}");
        }
    }
public function commit()
    {
        --$this->currentTransactionLevel;
        if ($this->currentTransactionLevel == 0 || !$this->nestable()) {
            parent::commit();
        } else {
            $this->exec("RELEASE SAVEPOINT LEVEL{$this->currentTransactionLevel}");
        }
    }
public function commit ( ) { -- $ this -> currentTransactionLevel ; if ( $ this -> currentTransactionLevel == 0 || ! $ this -> nestable ( ) ) { parent :: commit ( ) ; } else { $ this -> exec ( "RELEASE SAVEPOINT LEVEL{$this->currentTransactionLevel}" ) ; } }
PDO commit override to work with savepoint capabilities for supported
SGBD. Allows nested transactions.
PDO commit override to work with savepoint capabilities for supported SGBD . Allows nested transactions .