php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31510 sqlite_key function only exists as method for SQLiteResult class
Submitted: 2005-01-12 09:31 UTC Modified: 2011-02-21 22:19 UTC
From: irchtml@php.net Assigned: helly (profile)
Status: Wont fix Package: SQLite related
PHP Version: * OS:
Private report: No CVE-ID: None
 [2005-01-12 09:31 UTC] 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[].


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-12 23:14 UTC] 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.
 [2011-02-21 22:13 UTC] php at trafex dot nl
Maybe the documentation should be updated, it doesn't mention any of this.
 [2011-02-21 22:19 UTC] danbrown@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 04 20:01:28 2024 UTC