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>
This commit is contained in:
Christopher Snowhill 2022-02-17 02:58:57 -08:00
parent 4f5e4eca36
commit 007ec3696d

View file

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