fuel/fuel/core/classes/database/connection.php
public function commit_transaction()
	{
		// Fake call of the commit
		if ($this->_transaction_depth <= 0)
		{
			return false;
		}

		if ($this->_transaction_depth - 1)
		{
			$result = $this->release_savepoint($this->_transaction_depth - 1);
			// If savepoint is not supported it is not an error
			! isset($result) and $result = true;
		}
		else
		{
			$this->_in_transaction = false;
			$result = $this->driver_commit();
		}

		$result and $this->_transaction_depth --;

		return $result;
	}
public function commit_transaction()
	{
		// Fake call of the commit
		if ($this->_transaction_depth <= 0)
		{
			return false;
		}

		if ($this->_transaction_depth - 1)
		{
			$result = $this->release_savepoint($this->_transaction_depth - 1);
			// If savepoint is not supported it is not an error
			! isset($result) and $result = true;
		}
		else
		{
			$this->_in_transaction = false;
			$result = $this->driver_commit();
		}

		$result and $this->_transaction_depth --;

		return $result;
	}
public function commit_transaction ( ) { // Fake call of the commit if ( $ this -> _transaction_depth <= 0 ) { return false ; } if ( $ this -> _transaction_depth - 1 ) { $ result = $ this -> release_savepoint ( $ this -> _transaction_depth - 1 ) ; // If savepoint is not supported it is not an error ! isset ( $ result ) and $ result = true ; } else { $ this -> _in_transaction = false ; $ result = $ this -> driver_commit ( ) ; } $ result and $ this -> _transaction_depth -- ; return $ result ; }
Commits nested transaction

$db->commit_transaction();

@return bool
Commits nested transaction