fbsql_set_transaction
(PHP 4 >= 4.2.0, PHP 5)
fbsql_set_transaction — Set the transaction locking and isolation
Descrierea
$link_identifier
, int $locking
, int $isolation
)
Sets the transaction locking and
isolation.
Parametri
-
link_identifier -
Un identificator de legătură FrontBase întors de fbsql_connect() sau fbsql_pconnect ().
Dacă nu este specificat, funcția va încerca să găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea fbsql_connect() fără argumente.
-
locking -
The type of locking to be set. It can be one of the following constants:
FBSQL_LOCK_DEFERRED,FBSQL_LOCK_OPTIMISTIC, orFBSQL_LOCK_PESSIMISTIC. -
isolation -
The type of isolation to be set. It can be one of the following constants:
FBSQL_ISO_READ_UNCOMMITTED,FBSQL_ISO_READ_COMMITTED,FBSQL_ISO_REPEATABLE_READ,FBSQL_ISO_SERIALIZABLE, orFBSQL_ISO_VERSIONED.
Valorile întoarse
Nu este întoarsă nici o valoare.
