fbsql_autocommit
(PHP 4 >= 4.0.6, PHP 5)
fbsql_autocommit — Enable or disable autocommit
Descrição
Returns the current autocommit status.
Parâmetros
- link_identifier
-
Um 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
- OnOff
-
If this optional parameter is given the auto commit status will be changed.
With OnOff set to TRUE each statement will be committed automatically, if no errors was found.
With OnOff set to FALSE the user must commit or rollback the transaction using either fbsql_commit() or fbsql_rollback().
Valor Retornado
Returns the current autocommit status, as a boolean.