cvs: phpdoc /en/reference/ibm_db2/functions db2-set-option.xml
| From: | DeDe) Morton | Date: | Thu, 07 May 2009 17:50:46 +0000 |
| Subject: | cvs: phpdoc /en/reference/ibm_db2/functions db2-set-option.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3975@lists.php.net to get a copy of this message | ||
dedemorton Thu May 7 17:50:46 2009 UTC
Modified files:
/phpdoc/en/reference/ibm_db2/functions db2-set-option.xml
Log:
add rowcount option
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.10
phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.11
--- phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.10 Thu Dec 18 18:33:49 2008
+++ phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml Thu May 7 17:50:46 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.db2-set-option">
<refnamediv>
<refname>db2_set_option</refname>
@@ -152,6 +152,26 @@
</variablelist>
</para>
<para>
+ The following new option is available in ibm_db2 version 1.8.0 and later.
+ <variablelist>
+ <varlistentry>
+ <term><parameter>rowcount</parameter></term>
+ <listitem>
+ <para>
+ <literal>DB2_ROWCOUNT_PREFETCH_ON</literal> - Client can request
+ the full row count prior to fetching, which means that
+ <function>db2_num_rows</function> returns the number of rows
selected
+ even when a <literal>ROLLFORWARD_ONLY</literal> cursor is used.
+ </para>
+ <para>
+ <literal>DB2_ROWCOUNT_PREFETCH_OFF</literal> - Client cannot
request
+ the full row count prior to fetching.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ <para>
The following new options are available in ibm_db2 version 1.7.0 and later.
<variablelist>
<varlistentry>
@@ -406,6 +426,20 @@
<entry colname="col5">-</entry>
</row>
<row>
+ <entry>rowcount</entry>
+ <entry><literal>DB2_ROWCOUNT_PREFETCH_ON</literal></entry>
+ <entry colname="col3">-</entry>
+ <entry colname="col4">X</entry>
+ <entry colname="col5">-</entry>
+ </row>
+ <row>
+ <entry>rowcount</entry>
+ <entry><literal>DB2_ROWCOUNT_PREFETCH_OFF</literal></entry>
+ <entry colname="col3">-</entry>
+ <entry colname="col4">X</entry>
+ <entry colname="col5">-</entry>
+ </row>
+ <row>
<entry>trusted_user</entry>
<entry><literal><USER NAME>
(String)</literal></entry>
<entry colname="col3">X</entry>