cubrid_get_autocommit

(PECL CUBRID >= 8.4.0)
Get 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.

Parameters:
conn_identifier

Connection identifier.

Returns:

TRUE, when auto-commit is on.

FALSE, when auto-commit is off.

NULL on error.

See also:

cubrid_set_autocommit() -

cubrid_commit() -

doc_php
2016-02-24 16:15:59
Comments
Leave a Comment

Please login to continue.