Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: ingres_commit - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net

search for in the

ingres_connect" width="11" height="7"/> <ingres_close
Last updated: Wed, 01 Nov 2006
view this page in

ingres_commit

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.4)

ingres_commit -- トランザクションをコミットする

説明

bool ingres_commit ( [resource link] )

ingres_commit() は現在オープンされている トランザクションをコミットし、全ての変更をデータベースに保存します。

この関数はトランザクションをクローズします。 ingres_query() によりクエリを送信することにより、 新規のトランザクションをオープンすることが可能です。

トランザクションをオープンする前に ingres_autocommit() をコールすることにより、 各クエリの後に自動的にサーバ側でコミットを行うことも可能です。

ingres_query()ingres_rollback()、および ingres_autocommit()も参照ください。



add a note add a note User Contributed Notes
ingres_commit
burckhardtNOSPAM at CUTMEgsf dot de
24-Jan-2002 02:00
Hi,
this might be obvious for the more enlightened among us, alas, I had to learn it the hard way (and I hope my interpretation is right):
WHENEVER you use ingres_commit(), you cannot use any other ingres-commands for this connection anymore, since ingres_commit() closes it. That means that any ingres_fetch_row/object/whatever has to come before the ingres_commit-call. I first thought, each ingres_query() had to be "committed", but that was wrong.

ingres_connect" width="11" height="7"/> <ingres_close
Last updated: Wed, 01 Nov 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites