From 007ec3696de48c2299c940060a55cc0a2582e203 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 17 Feb 2022 02:58:57 -0800 Subject: [PATCH] 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 --- Utils/SQLiteStore.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utils/SQLiteStore.m b/Utils/SQLiteStore.m index 52ff6800b..3a1ad6833 100644 --- a/Utils/SQLiteStore.m +++ b/Utils/SQLiteStore.m @@ -785,6 +785,8 @@ static SQLiteStore *g_sharedStore = NULL; sqlite3_reset(st); + [stringTable setObject:ret forKey:[[NSNumber numberWithInteger:stringId] stringValue]]; + return ret; }