From ffc18a204463b14183ae50e71147a4ce6047c3be Mon Sep 17 00:00:00 2001 From: JPVenson Date: Thu, 14 Nov 2024 05:58:32 +0000 Subject: [PATCH] Updated comments/TODOs --- Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index c988f6d149..de48941989 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -112,7 +112,7 @@ public class MigrateLibraryDb : IMigrationRoutine var itemValueQuery = "select ItemId, Type, Value, CleanValue FROM ItemValues WHERE Type <> 6"; dbContext.ItemValues.ExecuteDelete(); - // EFCores local lookup sucks. + // EFCores local lookup sucks. We cannot use context.ItemValues.Local here because its just super slow. var localItems = new Dictionary<(int Type, string CleanValue), (ItemValue ItemValue, List ItemIds)>(); foreach (SqliteDataReader dto in connection.Query(itemValueQuery))