Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.0 |  CUBRID 8.4.1 | 



The cubrid_set_autocommit function sets the status of CUBRID database connection auto-commit mode of the current database connection. This function just turns on/off the auto-commit mode. When this function is called, concurrent transactions are committed regardless of the auto-commit mode.

CCI_DEFAULT_AUTOCOMMIT, broker parameter configured in the cubrid_broker.conf file, determines whether it is in auto-commit mode upon program startup.


bool cubrid_set_autocommit(resource $conn_identifier, int $mode)

  • conn_identifier : Connection identifier
  • mode : Whether to turn on auto-commit or not. It should be CUBRID_AUTOCOMMIT_FALSE or CUBRID_AUTOCOMMIT_TRUE.
Return Value
  • Success : TRUE
  • Failure : FALSE
See Also