ID:          36618
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:      Open
+Status:      Closed
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

applied, thanks.
next time, apply the patch yourself! Its probably faster than opening a
bug report.


Previous Comments:
------------------------------------------------------------------------

[2006-03-05 14:55:16] [EMAIL PROTECTED]

Description:
------------
Missing documentation on what sqlite_last_error return when no error
occurred.
Noticed by Marnaq,
http://www.php.net/manual/en/function.sqlite-last-error.php#62614

Tiny patch:
http://php.is/bugs/36618/phpdoc.sqlite-last-error.patch.txt

Index: sqlite-last-error.xml
===================================================================
RCS file:
/repository/phpdoc/en/reference/sqlite/functions/sqlite-last-error.xml,v
retrieving revision 1.9
diff -u -r1.9 sqlite-last-error.xml
--- sqlite-last-error.xml       4 Oct 2005 15:11:18 -0000       1.9
+++ sqlite-last-error.xml       5 Mar 2006 13:47:55 -0000
@@ -23,7 +23,8 @@
   </classsynopsis>
   <para>
    Returns the error code from the last operation performed on
-   <parameter>dbhandle</parameter>, the database handle.  A human
readable
+   <parameter>dbhandle</parameter> (the database handle), or 0 when no
errors
+   occurred. A human readable
    description of the error code can be retrieved using
    <function>sqlite_error_string</function>.
   </para>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36618&edit=1

Reply via email to