fuel/fuel/core/classes/database/connection.php
public function start_transaction()
	{
		$result = true;

		if ($this->_transaction_depth == 0)
		{
			if ($this->driver_start_transaction())
			{
				$this->_in_transaction = true;
			}
			else
			{
				$result = false;
			}
		}
		else
		{
			$result = $this->set_savepoint($this->_transaction_depth);
			// If savepoint is not supported it is not an error
			isset($result) or $result = true;
		}

		$result and $this->_transaction_depth ++;

		return $result;
	}
public function start_transaction()
	{
		$result = true;

		if ($this->_transaction_depth == 0)
		{
			if ($this->driver_start_transaction())
			{
				$this->_in_transaction = true;
			}
			else
			{
				$result = false;
			}
		}
		else
		{
			$result = $this->set_savepoint($this->_transaction_depth);
			// If savepoint is not supported it is not an error
			isset($result) or $result = true;
		}

		$result and $this->_transaction_depth ++;

		return $result;
	}
public function start_transaction ( ) { $ result = true ; if ( $ this -> _transaction_depth == 0 ) { if ( $ this -> driver_start_transaction ( ) ) { $ this -> _in_transaction = true ; } else { $ result = false ; } } else { $ result = $ this -> set_savepoint ( $ this -> _transaction_depth ) ; // If savepoint is not supported it is not an error isset ( $ result ) or $ result = true ; } $ result and $ this -> _transaction_depth ++ ; return $ result ; }
Begins a nested transaction on instance

$db->start_transaction();

@return bool
Begins a nested transaction on instance