您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ingres_rollback

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)

ingres_rollback — Roll back a transaction

说明

bool ingres_rollback ([ resource $link ] )

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

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

参数

link

The connection link identifier. If not specified, the last opened link is used.

返回值

如果成功则返回 TRUE,失败则返回 FALSE