svn: /phpdoc/en/trunk/reference/ibm_db2/functions/ db2-pconnect.xml
| From: | Adam Harvey | Date: | Thu, 16 Sep 2010 09:12:01 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ibm_db2/functions/ db2-pconnect.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7123@lists.php.net to get a copy of this message | ||
aharvey Thu, 16 Sep 2010 09:12:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303413
Log:
Update the db2_pconnect() documentation using Ambrish's patch as a starting
point.
Changed paths:
U phpdoc/en/trunk/reference/ibm_db2/functions/db2-pconnect.xml
Modified: phpdoc/en/trunk/reference/ibm_db2/functions/db2-pconnect.xml
===================================================================
--- phpdoc/en/trunk/reference/ibm_db2/functions/db2-pconnect.xml 2010-09-16 02:03:34 UTC (rev
303412)
+++ phpdoc/en/trunk/reference/ibm_db2/functions/db2-pconnect.xml 2010-09-16 09:12:01 UTC (rev
303413)
@@ -21,7 +21,11 @@
<para>
Returns a persistent connection to an IBM DB2 Universal Database, IBM
- Cloudscape, or Apache Derby database. For more information on persistent
+ Cloudscape, or Apache Derby database.
+ </para>
+
+ <para>
+ For more information on persistent
connections, refer to <xref linkend='features.persistent-connections' />.
</para>
@@ -32,6 +36,14 @@
request.
</para>
+ <para>
+ Users running version 1.9.0 or later of ibm_db2 should be aware that the
+ extension will perform a transaction rollback on persistent connections at
+ the end of a request, thus ending the transaction. This prevents the
+ transaction block from carrying over to the next request which uses that
+ connection if script execution ends before the transaction block does.
+ </para>
+
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -424,6 +436,58 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>ibm_db2 1.9.0</entry>
+ <entry>
+ Active transactions within a persistent connection will be rolled back
+ at the end of each request.
+ </entry>
+ </row>
+ <row>
+ <entry>ibm_db2 1.8.0</entry>
+ <entry>
+ The <parameter>i5_libl</parameter> option is available for i5/OS
+ users.
+ </entry>
+ </row>
+ <row>
+ <entry>ibm_db2 1.7.0</entry>
+ <entry>
+ The <parameter>trustedcontext</parameter> option is available.
+ </entry>
+ </row>
+ <row>
+ <entry>ibm_db2 1.5.1</entry>
+ <entry>
+ The <parameter>i5_lib</parameter>,
<parameter>i5_naming</parameter>,
+ <parameter>i5_commit</parameter>,
+ <parameter>i5_query_optimize</parameter>,
+ <parameter>i5_dbcs_alloc</parameter>,
+ <parameter>i5_date_fmt</parameter>,
+ <parameter>i5_date_sep</parameter>,
+ <parameter>i5_time_fmt</parameter>,
<parameter>i5_time_sep</parameter>
+ and <parameter>i5_decimal_sep</parameter> options are available for
+ i5/OS users.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>