georg Sun Apr 21 09:24:56 2002 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-num-rows.xml
Log:
Added a note (mysql_unbuffered_query)
Added see also to mysql_data_seek
Index: phpdoc/en/reference/mysql/functions/mysql-num-rows.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.2
phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.3
--- phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.2 Wed Apr 17 02:41:13
2002
+++ phpdoc/en/reference/mysql/functions/mysql-num-rows.xml Sun Apr 21 09:24:56
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-num-rows">
<refnamediv>
@@ -36,10 +36,19 @@
</programlisting>
</example>
</para>
+ <note>
+ <para>
+ If you use <function>mysql_unbuffered_query</function>,
+ <function>mysql_num_rows</function> will not return the
+ correct value until all the rows in the result set have been
+ retrieved.
+ </para>
+ </note>
<para>
See also:
<function>mysql_affected_rows</function>,
<function>mysql_connect</function>,
+ <function>mysql_data_seek</function>,
<function>mysql_select_db</function>, and
<function>mysql_query</function>.
</para>