CUBRID 函数
PHP 手册

cubrid_get_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_get_autocommitGet auto-commit mode of the connection

说明

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.

参数

conn_identifier

Connection identifier.

返回值

TRUE, when auto-commit is on.

FALSE, when auto-commit is off.

NULL on error.

参见


CUBRID 函数
PHP 手册