fbsql_autocommit

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

fbsql_autocommitEnable or disable autocommit

˵��

fbsql_autocommit ( resource $link_identifier [, bool $OnOff ] ) : bool

Returns the current autocommit status.

����

link_identifier

�� fbsql_connect() �� fbsql_pconnect() ���ص� FrontBase ���ӱ�ʶ��.

���ѡ��δָ���������᳢�Բ���һ���� FrontBase �������Ŀ������ӣ�����û���ҵ����������ӣ��᳢��ͨ�������������� fbsql_connect() ������һ����

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

����ֵ

Returns the current autocommit status, as a boolean.

�μ�