(PHP 4 >= 4.0.6)

fbsql_commit -- Commits a transaction to the database


bool fbsql_commit ( [resource link_identifier])

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

fbsql_commit() ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking all row and table locks held by the transaction. This command is only needed if autocommit is set to false.

See also: fbsql_autocommit() and fbsql_rollback()