Re: cvs: php-src(PHP_5_3) /ext/pdo_sqlite sqlite_statement.c
| From: | Matteo Beccati | Date: | Tue, 19 May 2009 16:58:47 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/pdo_sqlite sqlite_statement.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-58017@lists.php.net to get a copy of this message | ||
Hi Ilia,
> + if (*len) {
> + /* sqlite3.h says "the NUL terminator is included in the byte count for TEXT
> values" */
> + *len--; /* do not remove this, even though it generates a warning */
> + }
Would you mind explaining me why the fix was faulty?
Cheers
--
Matteo Beccati
OpenX - http://www.openx.org