array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.cubrid-get-autocommit.php', 1 => 'cubrid_get_autocommit', 2 => 'Get auto-commit mode of the connection', ), 'up' => array ( 0 => 'ref.cubrid.php', 1 => 'CUBRID 関数', ), 'prev' => array ( 0 => 'function.cubrid-get.php', 1 => 'cubrid_get', ), 'next' => array ( 0 => 'function.cubrid-get-charset.php', 1 => 'cubrid_get_charset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/cubrid/functions/cubrid-get-autocommit.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

cubrid_get_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_get_autocommitGet auto-commit mode of the connection

説明

cubrid_get_autocommit(resource $conn_identifier): bool

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.

パラメータ

conn_identifier

Connection identifier.

戻り値

true, when auto-commit is on.

false, when auto-commit is off.

null on error.

参考