On 08.05.2009 03:29, Matteo Beccati wrote:
> #ifdef HAVE_CONFIG_H
> #include "config.h"
> @@ -265,11 +265,6 @@
> case SQLITE3_TEXT:
> *ptr = (char*)sqlite3_column_text(S->stmt, colno);
> *len = sqlite3_column_bytes(S->stmt, colno);
> - if (*len) {
> - /* sqlite3.h says "the NUL terminator is
> included in the byte count
> - * for TEXT values" */
> - *len--;
> - }
> return 1;
It doesn't look like no-op to me, but it's not clear what's being decremented.
I'd say it should do (*len)-- if the comment in sqlite3.h is correct.
--
Wbr,
Antony Dovgal
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php