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:
parent
4f5e4eca36
commit
007ec3696d
1 changed files with 2 additions and 0 deletions
|
@ -785,6 +785,8 @@ static SQLiteStore *g_sharedStore = NULL;
|
|||
|
||||
sqlite3_reset(st);
|
||||
|
||||
[stringTable setObject:ret forKey:[[NSNumber numberWithInteger:stringId] stringValue]];
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue