mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
retrieve strings from database as blobs rather than strings to stop mangling codepage filenames. Fixes ticket #38
This commit is contained in:
parent
43bbf96024
commit
805708da1f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user