(PHP 4 >= 4.2.0, PHP 5, PHP 7)
fbsql_set_transaction — Set the transaction locking and isolation
$link_identifier
, int $locking
, int $isolation
) : void
Sets the transaction locking and
isolation.
link_identifierUm identificador de link FrontBase retornado porfbsql_connect() ou fbsql_pconnect().
Se opcional e não especificado a função tentará localizar um link aberto ao um servidor FrontBase e se nenhum link for encontrado será tentado criar um como se fbsql_connect() fosse chamado sem argumentos.
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.
Não há valor retornado.