CUBRID_SET_AUTOCOMMIT(3) 1 CUBRID_SET_AUTOCOMMIT(3)
cubrid_set_autocommit - Set autocommit mode of the connection
SYNOPSIS
bool cubrid_set_autocommit (resource $conn_identifier, bool $mode)
DESCRIPTION
The cubrid_set_autocommit(3) function is used to set the CUBRID database auto-commit mode of the current database connection.
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.
PARAMETERS
o $conn_identifier
-Connection identifier.
o $mode
-Auto-commit mode. The following constants can be used:
o CUBRID_AUTOCOMMIT_FALSE
o CUBRID_AUTOCOMMIT_TRUE
RETURN VALUES
TRUE, when process is successful.
FALSE, when process is unsuccessful.
SEE ALSO
cubrid_get_autocommit(3), cubrid_commit(3).
PHP Documentation Group CUBRID_SET_AUTOCOMMIT(3)