georg           Wed Mar 10 05:04:38 2004 EDT

  Modified files:              
    /phpdoc/en/reference/mysqli reference.xml 
    /phpdoc/en/reference/mysqli/functions       mysqli-stmt-store-result.xml 
  Log:
  - documentation for new function mysqli-stmt-store-result
  - minor fixes
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/reference.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/mysqli/reference.xml
diff -u phpdoc/en/reference/mysqli/reference.xml:1.10 
phpdoc/en/reference/mysqli/reference.xml:1.11
--- phpdoc/en/reference/mysqli/reference.xml:1.10       Thu Feb 26 03:54:56 2004
+++ phpdoc/en/reference/mysqli/reference.xml    Wed Mar 10 05:04:37 2004
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
  <reference id='ref.mysqli'>
   <title>Improved MySQL Extension</title>
   <titleabbrev>mysqli</titleabbrev>
@@ -138,6 +138,9 @@
         <para><link linkend='function.mysqli-stat'>stat</link> - gets the current 
system status</para>
        </listitem>
        <listitem>
+        <para><link linkend='function.mysqli-stmt-init'>stmt_init</link>Initializes a 
statement for use with mysqli_stmt_prepare</para>
+       </listitem>
+       <listitem>
         <para><link linkend='function.mysqli-store-result'>store_result</link> - 
transfers a resultset from last query</para>
        </listitem>
        <listitem>
@@ -216,7 +219,13 @@
         <para><link linkend='function.mysqli-fetch'>fetch</link> - Fetches result 
from a prepared statement into bound variables</para>
        </listitem>
        <listitem>
-        <para><link linkend='function.mysqli-get-metadata'>get_metadata</link> - 
Retrieves a resultset from a prepared statement for metadata information</para>
+        <para><link linkend='function.mysqli-stmt-free-result'>free_result</link> - 
Frees stored result memory for the given statement handle</para>
+       </listitem>
+       <listitem>
+        <para><link 
linkend='function.mysqli-stmt-result-metadata'>get_metadata</link> - Retrieves a 
resultset from a prepared statement for metadata information</para>
+       </listitem>
+       <listitem>
+        <para><link linkend='function.mysqli-stmt-prepare'>prepare</link> - prepares 
a SQL query</para>
        </listitem>
        <listitem>
         <para><link linkend='function.mysqli-send-long-data'>send_long_data</link> - 
Sends data in chunks</para>
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml:1.4 
phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml:1.5
--- phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml:1.4       Tue 
Mar  9 12:21:48 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-store-result.xml   Wed Mar 10 
05:04:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
   <refentry id="function.mysqli-stmt-store-result">
    <refnamediv>
     <refname>mysqli_stmt_store_result</refname>
@@ -75,6 +75,9 @@
 
     printf("Number of rows: %d.\n", $stmt->num_rows);
 
+    /* free result */
+    $stmt->free_result();
+
     /* close statement */
     $stmt->close();
 }
@@ -110,6 +113,9 @@
 
     printf("Number of rows: %d.\n", mysqli_stmt_num_rows($stmt));
 
+    /* free result */
+    mysqli_stmt_free_result($stmt);
+
     /* close statement */
     mysqli_stmt_close($stmt);
 }

Reply via email to