retrieve strings from database as blobs rather than strings to stop mangling codepage filenames. Fixes ticket #38

This commit is contained in:
Ron Pedde 2006-03-31 22:40:38 +00:00
parent 43bbf96024
commit 805708da1f

View File

@ -303,7 +303,7 @@ int db_sqlite3_enum_fetch(char **pe, SQL_ROW *pr) {
}
for(idx=0; idx < cols; idx++) {
db_sqlite3_row[idx] = (char*) sqlite3_column_text(db_sqlite3_stmt,idx);
db_sqlite3_row[idx] = (char*) sqlite3_column_blob(db_sqlite3_stmt,idx);
}
*pr = db_sqlite3_row;