fbsql_set_transaction
Set the transaction locking and isolation
Beschreibung
void fbsql_set_transaction
( resource $link_identifier
, int $locking
, int $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,
or FBSQL_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,
or FBSQL_ISO_VERSIONED.
Rückgabewerte
Es wird kein Wert zurückgegeben.