(PHP 4 >= 4.2.0, PHP 5)
fbsql_set_transaction — Set the transaction locking and isolation
$link_identifier
, int $locking
, int $isolation
)
Sets the transaction locking and
isolation.
link_identifierUm identificador de conexão FrontBase retornado por fbsql_connect() ou fbsql_pconnect().
Se opcional e não especificado, a função tentará encontrar uma conexão aberta para o servidor FrontBase server e se não for encontrada uma conexão dessa ela irá tentar criar uma como se fbsql_connect() fosse chamada 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.