Test if the connection is using autocommit

# ingres_autocommit_state

(PECL ingres >= 2.0.0)

ingres_autocommit_state — Test if the connection is using autocommit

### Descrierea

ingres_autocommit_state ( resource `$link` ) : bool

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

### Parametri

`link`

  The connection link identifier

### Valorile întoarse

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

### A se vedea și

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