cubrid_get_autocommit
(PECL CUBRID >= 8.4.0)
cubrid_get_autocommit — Get auto-commit mode of the connection
说明
cubrid_get_autocommit(resource
$conn_identifier
): boolThe 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.
参见
- cubrid_set_autocommit() - Set autocommit mode of the connection
- cubrid_commit() - Commit a transaction

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.cubrid-get-autocommit.php