|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48185 warning: value computed is not used in pdo_sqlite_stmt_get_col line 271
Submitted: 2009-05-07 22:46 UTC Modified: 2009-05-07 23:30 UTC
From: Assigned: mbeccati (profile)
Status: Closed Package: PDO related
PHP Version: 5.3CVS-2009-05-07 (CVS) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2009-05-07 22:46 UTC]
Reported here:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-07 22:58 UTC]
Looks like this:

if (*len) {
    /* sqlite3.h says "the NUL terminator is included in the byte count
     * for TEXT values" */

is not needed (anymore?) as sqlite3_column_bytes() is already returning the correct number of bytes. So fixing the warning by using (*len)-- would in fact break PDO_Sqlite.
 [2009-05-07 23:30 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 21 20:03:39 2021 UTC