PHP.nl

cubrid_set_autocommit

cubrid_set_autocommit

Set autocommit mode of the connection

bool **cubrid_set_autocommit** resource $conn_identifier bool $mode

The function is used to set the CUBRID database auto-commit mode of the current database connection. cubrid_set_autocommit

In CUBRID PHP, auto-commit mode is disabled by default for transaction management. When auto-commit mode is truned from off to on, any pending work is automatically committed.

conn_identifierConnection identifier.

modeAuto-commit mode. The following constants can be used:

CUBRID_AUTOCOMMIT_FALSE``CUBRID_AUTOCOMMIT_TRUEreturn.success

cubrid_get_autocommit``cubrid_commit