Scholar Repository
Home>Manual>Roll back a transaction

Roll back a transaction


ingres_rollback

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0)

ingres_rollbackRoll back a transaction

Description

bool ingres_rollback ( resource $link )

ingres_rollback() rolls back the currently open transaction, actually cancelling all changes made to the database during the transaction.

This closes the transaction. A new transaction can be opened by sending a query with ingres_query().

Parameters

link

The connection link identifier

Return Values

Returns TRUE on success or FALSE on failure.

See Also


Home>Manual>Roll back a transaction