value computed is not used in pdo_sqlite_stmt_get_col line 271
[2009-05-07 22:58 UTC] mbeccati@php.net
Looks like this:
if (*len) {
/* sqlite3.h says "the NUL terminator is included in the byte count
* for TEXT values" */
*len--;
}
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] mbeccati@php.net
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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better.