SQLite Store: Properly read strings into memory

Strings read from the database were not being stashed in the memory
store, which caused things like blank tags instead of correct metadata.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-17 02:58:57 -08:00
parent 4f5e4eca36
commit 007ec3696d
1 changed files with 2 additions and 0 deletions

View File

@ -785,6 +785,8 @@ static SQLiteStore *g_sharedStore = NULL;
sqlite3_reset(st);
[stringTable setObject:ret forKey:[[NSNumber numberWithInteger:stringId] stringValue]];
return ret;
}