aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 08:13:15 -0500
committerAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 08:13:15 -0500
commitb936c530aa662bd08ea60f4283409f26cc69feb3 (patch)
tree8236128d41f1c7c920e07e57cd1141e3dea39a0f /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parentbd4da93d1e871f7d58075b6780c4c1c30fc34fd7 (diff)
parent25bc7b81c37b635109e5c14baabf64954a517512 (diff)
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index e7e93d0db..864ee4683 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -6240,6 +6240,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
{
insertText.Append("@" + column + index + ",");
}
+
insertText.Length -= 1;
insertText.Append(")");
@@ -6266,6 +6267,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
statement.Reset();
statement.MoveNext();
}
+
startIndex += insertAtOnce;
}
}