hholzgra Thu Aug 31 18:36:23 2006 UTC
Modified files:
/phpdoc/en/reference/mysql/functions mysql-num-rows.xml
Log:
SHOW returns a resultset, too (Bug #38667)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-num-rows.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-num-rows.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.8
phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.9
--- phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.8 Thu Mar 31
07:47:25 2005
+++ phpdoc/en/reference/mysql/functions/mysql-num-rows.xml Thu Aug 31
18:36:23 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id="function.mysql-num-rows">
<refnamediv>
<refname>mysql_num_rows</refname>
@@ -14,7 +14,8 @@
</methodsynopsis>
<para>
Retrieves the number of rows from a result set. This command is only valid
- for SELECT statements. To retrieve the number of rows affected by a INSERT,
+ for statements like SELECT or SHOW that return an actual result set.
+ To retrieve the number of rows affected by a INSERT,
UPDATE, or DELETE query, use <function>mysql_affected_rows</function>.
</para>
</refsect1>