since they appear to be the same irregardless on notes inside sqlite3.h
*len = sqlite3_column_bytes(S->stmt, colno);
return 1;
- case SQLITE3_TEXT:
- *ptr = (char*)sqlite3_column_text(S->stmt, colno);
- *len = sqlite3_column_bytes(S->stmt, colno);
-#if SQLITE_VERSION_NUMBER < 3004000
- if (*len) {
- /* sqlite3.h says "the NUL terminator is included in the byte count for TEXT values" */
- (*len)--;
- }
-#endif
- return 1;
default:
*ptr = (char*)sqlite3_column_text(S->stmt, colno);
*len = sqlite3_column_bytes(S->stmt, colno);