Author: paul
Date: 2009-01-15 21:38:21 +0100 (Thu, 15 Jan 2009)
New Revision: 13210
Log:
r37400@frost: paul | 2009-01-15 14:37:58 -0500
Updates to mysql_stmt_next_result() description
Modified:
trunk/refman-6.0/apis-c.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:41130
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:37398
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:35643
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:41130
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:37400
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:35643
Modified: trunk/refman-6.0/apis-c.xml
===================================================================
--- trunk/refman-6.0/apis-c.xml 2009-01-15 20:07:40 UTC (rev 13209)
+++ trunk/refman-6.0/apis-c.xml 2009-01-15 20:38:21 UTC (rev 13210)
Changed blocks: 2, Lines Added: 17, Lines Deleted: 13; 2245 bytes
@@ -11908,25 +11908,21 @@
<para>
Before calling
<literal role="cfunc">mysql_stmt_next_result()</literal>, you
- must call <literal role="cfunc">mysql_free_result()</literal>
- for the preceding statement if it is a query that returned a
- result set.
+ must call
+ <literal role="cfunc">mysql_stmt_free_result()</literal> for the
+ preceding result if it produced a result set.
</para>
-<!--
<para>
After calling
<literal role="cfunc">mysql_next_result()</literal> the state of
the connection is as if you had called
- <literal role="cfunc">mysql_real_query()</literal> or
- <literal role="cfunc">mysql_query()</literal> for the next
- statement. This means that you can call
- <literal role="cfunc">mysql_store_result()</literal>,
- <literal role="cfunc">mysql_warning_count()</literal>,
- <literal role="cfunc">mysql_affected_rows()</literal>, and so
- forth.
+ <literal role="cfunc">mysql_stmt_execute()</literal>. This means
+ that you can call
+ <literal role="cfunc">mysql_stmt_bind_result()</literal>,
+ <literal role="cfunc">mysql_stmt_affected_rows()</literal>, and
+ so forth.
</para>
--->
<para>
If <literal role="cfunc">mysql_stmt_next_result()</literal>
@@ -11937,7 +11933,15 @@
Because <literal role="stmt">CALL</literal> can return multiple
results, you should process those results using a loop that
calls <literal role="cfunc">mysql_stmt_next_result()</literal>
- to determine whether there are more results.
+ to determine whether there are more results. If a procedure has
+ <literal>OUT</literal> or <literal>INOUT</literal> parameters,
+ those will be returned as an extra result set that contains the
+ resulting parameter values.
+
+<!--
+For an example that shows how to process these parameters,
+see <xref linkend="XXX"/>.
+-->
</para>
<!--
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r13210 - in trunk: . refman-6.0 | paul.dubois | 15 Jan |