PHP Dokumentation: Function fbsql-set-transaction
12. Januar 2010 von werner
fbsql_set_transaction
(PHP 4 >= 4.2.0, PHP 5)
fbsql_set_transaction — Set the transaction locking and isolation
Beschreibung
Sets the transaction locking and isolation.
Parameter-Liste
- link_identifier
Eine vonfbsql_connect() oder fbsql_pconnect()zurückgegebe FrontBase-Verbindung.
Wenn optional und nichtangegeben, wird versucht, eine bereits geöffnete FrontBase-Verbindung zu finden,falls keine vorhanden ist, wird versucht, eine zu öffnen, als obfbsql_connect() ohne Parameter aufgerufenwurde.
- 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.