Bug #31510 [Wfx]: sqlite_key function only exists as method for SQLiteResult class
| From: | danbrown@php.net | Date: | Mon, 21 Feb 2011 21:19:03 +0000 |
| Subject: | Bug #31510 [Wfx]: sqlite_key function only exists as method for SQLiteResult class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158945@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=31510&edit=1
ID: 31510
Updated by: danbrown@php.net
Reported by: irchtml@php.net
Summary: sqlite_key function only exists as method for
SQLiteResult class
Status: Wont fix
Type: Bug
Package: SQLite related
PHP Version: *
Assigned To: helly
Block user comment: N
Private report: N
New Comment:
Please submit that as a documentation bug, don't append it to a bug that
hasn't
been touched in six years or by a complaint in the user notes --- it's
not as
likely to be noticed and repaired this way. A new submission, however,
is very
likely to see the documentation corrected pretty soon after submission.
Previous Comments:
------------------------------------------------------------------------
[2011-02-21 22:13:05] php at trafex dot nl
Maybe the documentation should be updated, it doesn't mention any of
this.
------------------------------------------------------------------------
[2005-04-12 23:14:01] helly@php.net
All QLite maintainers decided there is little to no usa in that
function. The reason there is SQLiteResult::key() is only because
SQLiteResult implements Iterator.
------------------------------------------------------------------------
[2005-01-12 09:31:58] irchtml@php.net
Description:
------------
The function sqlite_key (line 2637 of ext/sqlite/sqlite.c) only exists
as a mapped method of the SQLiteResult class and cannot be used a a
procedural function as it has no entry in the sqlite_funcs function
table (even though the function has support for being called as such).
All that's needed is an entry in sqlite_functions[].
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=31510&edit=1