Test if the connection is using autocommit

Ingres Functions
ingres_autocommit
Ingres Functions
PHP Manual

# ingres_autocommit_state

(PECL ingres >= 2.0.0)

ingres_autocommit_state — Test 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

- ingres_autocommit() - Switch autocommit on or off
- ingres_query() - Send an SQL query to Ingres

Ingres Functions
ingres_autocommit
Ingres Functions
PHP Manual