fbsql_autocommit
(PHP 4 >= 4.0.6, PHP 5)
fbsql_autocommit — Enable or disable autocommit
Açıklama
$link_identifier
[, bool $OnOff
] )Returns the current autocommit status.
Değiştirgeler
-
bağlantı_tanıtıcısı -
fbsql_connect() veya fbsql_pconnect() işlevinden dönen bir FrontBase bağlantı tanıtıcısı.
İsteğe bağlıysa ve belirtilmemişse işlev, FrontBase sunucusuna açılmış bir bağlantı olup olmadığına bakar, bir bağlantı yoksa fbsql_connect() işlevi değiştirgesiz çağrılmışçasına bir bağlantı oluşturmaya çalışır.
-
OnOff -
If this optional parameter is given the auto commit status will be changed.
With
OnOffset toTRUEeach statement will be committed automatically, if no errors was found.With OnOff set to
FALSEthe user must commit or rollback the transaction using either fbsql_commit() or fbsql_rollback().
Dönen Değerler
Returns the current autocommit status, as a boolean.
Ayrıca Bakınız
- fbsql_commit() - Commits a transaction to the database
- fbsql_rollback() - Rollback a transaction to the database
