PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

cubrid_get_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_get_autocommitGet auto-commit mode of the connection

Description

bool cubrid_get_autocommit ( resource $conn_identifier )

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.

Parameters

conn_identifier

Connection identifier.

Return Values

TRUE, when auto-commit is on.

FALSE, when auto-commit is off.

NULL on error.

See Also

PHP Manual