fuel/fuel/core/classes/db.php
public static function rollback_transaction($db = null, $rollback_all = true)
	{
		return \Database_Connection::instance($db)->rollback_transaction($rollback_all);
	}
public static function rollback_transaction($db = null, $rollback_all = true)
	{
		return \Database_Connection::instance($db)->rollback_transaction($rollback_all);
	}
public static function rollback_transaction ( $ db = null , $ rollback_all = true ) { return \ Database_Connection :: instance ( $ db ) -> rollback_transaction ( $ rollback_all ) ; }
Rollsback pending transactional queries
Rollback to the current level uses SAVEPOINT,
it does not work if current RDBMS does not support them.
In this case system rollsback all queries and closes the transaction

DB::rollback_transaction();

@param   string  $db connection
@param   bool    $rollback_all:
true  - rollback everything and close transaction;
false - rollback only current level
@return  bool
Rollsback pending transactional queries Rollback to the current level uses SAVEPOINT it does not work if current RDBMS does not support them . In this case system rollsback all queries and closes the transaction