PHP Velho Oeste 2024

fbsql_autocommit

(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)

fbsql_autocommitEnable or disable autocommit

Açıklama

fbsql_autocommit ( resource $link_identifier , bool $OnOff = ? ) : bool

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 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().

Dönen Değerler

Returns the current autocommit status, as a boolean.

Ayrıca Bakınız

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top