[PHP-DOC] cvs: phpdoc /en/reference/ibase/functions ibase-trans.xml
irchtml Wed Feb 25 05:43:05 2004 EDT Modified files: /phpdoc/en/reference/ibase/functionsibase-trans.xml Log: bug #27390 http://cvs.php.net/diff.php/phpdoc/en/reference/ibase/functions/ibase-trans.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/reference/ibase/functions/ibase-trans.xml diff -u phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.5 phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.6 --- phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.5 Thu Sep 11 05:31:31 2003 +++ phpdoc/en/reference/ibase/functions/ibase-trans.xml Wed Feb 25 05:43:03 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -- refentry id=function.ibase-trans refnamediv @@ -18,7 +18,7 @@ /para para parametertrans_args/parameter can be a combination of - IBASE_READ, IBASE_WRITE, IBASE_COMMITED, IBASE_CONSISTENCY, + IBASE_READ, IBASE_WRITE, IBASE_COMMITTED, IBASE_CONSISTENCY, IBASE_CONCURRENCY, IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT. /para
[PHP-DOC] cvs: phpdoc /en/reference/ibase/functions ibase-trans.xml
abies Thu Sep 11 05:31:32 2003 EDT Modified files: /phpdoc/en/reference/ibase/functionsibase-trans.xml Log: Add stuff about multi-DB transactions Index: phpdoc/en/reference/ibase/functions/ibase-trans.xml diff -u phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.4 phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.5 --- phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.4 Tue Sep 2 07:56:46 2003 +++ phpdoc/en/reference/ibase/functions/ibase-trans.xml Thu Sep 11 05:31:31 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -- refentry id=function.ibase-trans refnamediv @@ -30,6 +30,21 @@ will be rolled back at the end of the script if they were not committed or rolled back by either functionibase_commit/function or functionibase_rollback/function. + /para +/note +note + para + In PHP 5.0.0. and up, this function will accept multiple parametertrans_args/parameter + and parameterlink_identifier/parameter arguments. This allows transactions + over multiple database connections, which are committed using a 2-phase commit + algorithm. This means you can rely on the updates to either succeed in every + database, or fail in every database. It does NOT mean you can use tables from + different databases in the same query! + /para + para + If you use transactions over multiple databases, you will have to specify both + the parameterlink_id/parameter and parametertransaction_id/parameter + in calls to functionibase_query/function and functionibase_prepare/function. /para /note /refsect1
[PHP-DOC] cvs: phpdoc /en/reference/ibase/functions ibase-trans.xml
abies Tue Sep 2 07:56:46 2003 EDT Modified files: /phpdoc/en/reference/ibase/functionsibase-trans.xml Log: Add PHP5 note Index: phpdoc/en/reference/ibase/functions/ibase-trans.xml diff -u phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.3 phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.4 --- phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.3 Sun Jul 27 18:21:30 2003 +++ phpdoc/en/reference/ibase/functions/ibase-trans.xml Tue Sep 2 07:56:46 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -- refentry id=function.ibase-trans refnamediv @@ -22,6 +22,16 @@ IBASE_CONCURRENCY, IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT. /para +note + para + The behaviour of this function has been changed in PHP 5.0.0. The first call + to functionibase_trans/function will not return the default transaction + of a connection. All transactions started by functionibase_trans/function + will be rolled back at the end of the script if they were not committed or + rolled back by either functionibase_commit/function or + functionibase_rollback/function. + /para +/note /refsect1 /refentry