array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.cubrid-set-autocommit.php', 1 => 'cubrid_set_autocommit', ), 'up' => array ( 0 => 'ref.cubrid.php', 1 => 'CUBRID İşlevleri', ), 'prev' => array ( 0 => 'function.cubrid-set-add.php', 1 => 'cubrid_set_add', ), 'next' => array ( 0 => 'function.cubrid-set-db-parameter.php', 1 => 'cubrid_set_db_parameter', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/cubrid/functions/cubrid-set-autocommit.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL CUBRID >= 8.4.0)
cubrid_set_autocommit — Set autocommit mode of the connection
The cubrid_set_autocommit() 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.
conn_identifier
Connection identifier.
mode
Auto-commit mode. The following constants can be used:
CUBRID_AUTOCOMMIT_FALSE
CUBRID_AUTOCOMMIT_TRUE