#36618 [Opn->Csd]: sqlite_last_error return 0 when no error occurred
| From: | nlopess@php.net | Date: | Mon, 06 Mar 2006 20:54:12 +0000 |
| Subject: | #36618 [Opn->Csd]: sqlite_last_error return 0 when no error occurred | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372248@lists.php.net to get a copy of this message | ||
ID: 36618
Updated by: nlopess@php.net
Reported By: bjori@php.net
-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] bjori@php.net
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