Scholar Repository
Home>Manual>Test if the connection is using autocommit

Test if the connection is using autocommit


ingres_autocommit_state

(PECL ingres >= 2.0.0)

ingres_autocommit_stateTest if the connection is using autocommit

Description

bool ingres_autocommit_state ( resource $link )

ingres_autocommit_state() is called to determine whether the current link has autocommit enabled or not.

Parameters

link

The connection link identifier

Return Values

Returns TRUE if autocommit is enabled or FALSE when autocommit is disabled

See Also


Home>Manual>Test if the connection is using autocommit