dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

cubrid_set_db_parameter> <cubrid_set_add
[edit] Last updated: Fri, 28 Jun 2013

view this page in

cubrid_set_autocommit

(PECL CUBRID >= 8.4.0)

cubrid_set_autocommitSet autocommit mode of the connection

Description

bool cubrid_set_autocommit ( resource $conn_identifier , bool $mode )

The cubrid_set_autocommit() function is used to set the CUBRID database auto-commit mode of the current database connection.

In CUBRID PHP, auto-commit mode is disabled by default for transaction management. When auto-commit mode is truned from off to on, any pending work is automatically committed.

Parameters

conn_identifier

Connection identifier.

mode

Auto-commit mode. The following constants can be used:

  • CUBRID_AUTOCOMMIT_FALSE
  • CUBRID_AUTOCOMMIT_TRUE

Return Values

TRUE, when process is successful.

FALSE, when process is unsuccessful.

See Also



add a note add a note User Contributed Notes cubrid_set_autocommit - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites