fbsql_set_transaction

(PHP 4 >= 4.2.0, PHP 5)

fbsql_set_transaction --  Set the transaction locking and isolation

说明

void fbsql_set_transaction ( resource link_identifier, int Locking, int Isolation )

警告

本函数暂无文档,仅有参数列表。


add a note add a note User Contributed Notes
daggillies at yahoo dot com
07-Jul-2002 07:05
Note (a tip from the FrontBase dev support team): if you are using an early version of the PHP FrontBase driver and do not wish to upgrade, then you can set the isolation and locking levels indirectly by using fbsql_query e.g.:

fbsql_query("SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY, LOCKING OPTIMISTIC;");

Level is one of SERIALIZABLE, REPEATABLE READ, READ COMMITTED, or VERSIONED. Locking is one of PESSIMISTIC, OPTIMISTIC and DEFERRED.

David Gillies
San Jose
Costa Rica