Bug #31510 [Com]: sqlite_key function only exists as method for SQLiteResult class
| From: | php at trafex dot nl | Date: | Mon, 21 Feb 2011 21:13:06 +0000 |
| Subject: | Bug #31510 [Com]: sqlite_key function only exists as method for SQLiteResult class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158944@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
Comment by: php at trafex dot nl
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:
Maybe the documentation should be updated, it doesn't mention any of
this.
Previous Comments:
------------------------------------------------------------------------
[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