mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 16:53:18 -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++) {
|
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;
|
*pr = db_sqlite3_row;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user