- Fixed bug #48185 removing no-op code
This commit is contained in:
Matteo Beccati 2009-05-07 23:29:54 +00:00
parent bb31072d3e
commit d33fecdde8
2 changed files with 2 additions and 5 deletions

View file

@ -265,11 +265,6 @@ static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsi
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;
default: