Home > PHP > Function > > ingres_rollback()

ingres_rollback()

ingres_rollback - Roll back a transaction

Syntax

bool ingres_rollback (resource $link)

Arguments

  • link - The connection link identifier

Description

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

Version

PHP 4.0.2, 5 <= 5.0.5, PECL ingres >= 1.0.0

Return value

Returns TRUE on success or FALSE on failure.