cubrid_get_autocommit

Get auto-commit mode of the connection

&reftitle.description; `bool` `cubrid_get_autocommit` `resource` `conn_identifier`

The `cubrid_get_autocommit` function is used to get the status of CUBRID database connection auto-commit mode.

For CUBRID 8.4.0, auto-commit mode is disabled by default for transaction management.

For CUBRID 8.4.1, auto-commit mode is enabled by default for transaction management.

&reftitle.parameters;

`conn_identifier`

- Connection identifier.

&reftitle.returnvalues;

&true;, when auto-commit is on.

&false;, when auto-commit is off.

&null; on error.

&reftitle.seealso;

- `cubrid_set_autocommit`
- `cubrid_commit`