fbsql_set_transaction
(PHP 4 >= 4.2.0, PHP 5)
fbsql_set_transaction — Set the transaction locking and isolation
Beschreibung
$link_identifier
, int $locking
, int $isolation
)
Sets the transaction locking and
isolation.
Parameter-Liste
-
link_identifier -
Eine von fbsql_connect() oder fbsql_pconnect() zurückgegebe FrontBase-Verbindung.
Wenn optional und nicht angegeben, wird versucht, eine bereits geöffnete FrontBase-Verbindung zu finden, falls keine vorhanden ist, wird versucht, eine zu öffnen, als ob fbsql_connect() ohne Parameter aufgerufen wurde.
-
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.
Rückgabewerte
Es wird kein Wert zurückgegeben.