array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.db2-commit.php', 1 => 'db2_commit', ), 'up' => array ( 0 => 'ref.ibm-db2.php', 1 => 'IBM DB2 Funções', ), 'prev' => array ( 0 => 'function.db2-columns.php', 1 => 'db2_columns', ), 'next' => array ( 0 => 'function.db2-conn-error.php', 1 => 'db2_conn_error', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ibm_db2/functions/db2-commit.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ibm_db2 >= 1.0.0)
db2_commit — Commits a transaction
Commits an in-progress transaction on the specified connection resource and begins a new transaction. PHP applications normally default to AUTOCOMMIT mode, so db2_commit() is not necessary unless AUTOCOMMIT has been turned off for the connection resource.
connection
A valid database connection resource variable as returned from db2_connect() or db2_pconnect().