php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72502 SQLite3Stmt::close(): insufficient documentation
Submitted: 2016-06-27 11:07 UTC Modified: 2016-09-02 15:10 UTC
From: cmbecker69 at gmx dot de Assigned: cmb (profile)
Status: Closed Package: SQLite related
PHP Version: 7.0.8 OS: *
Private report: No CVE-ID: None
 [2016-06-27 11:07 UTC] cmbecker69 at gmx dot de
Description:
------------
The documentation of SQLite3Stmt::close() doesn't mention the
effect on SQLite3Results of this statement, namely that these
results are invalidated. That appears to be particularly bad,
because the resulting warning message is somewhat confusing:

| The SQLite3Result object has not been correctly initialised

Actually, the SQLite3Result object had been correctly initialized,
in the first place, but obviously had been invalidated when
calling ::close(), see <https://3v4l.org/AYuI3>, for instance.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-02 14:53 UTC] cmb@php.net
-Summary: SQLite3Stmt::close(): unsufficient documentation +Summary: SQLite3Stmt::close(): insufficient documentation -Assigned To: +Assigned To: cmb
 [2016-09-02 15:10 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=339976
Log: Fix #72502: SQLite3Stmt::close(): insufficient documentation
 [2016-09-02 15:10 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f445cbb4e262c9a836f2adcde1a36eca301f4fcd
Log: Fix #72502: SQLite3Stmt::close(): insufficient documentation
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 02:01:23 2021 UTC