Fix tracker-induced duplicate key crash in duplicate detection (#3040)

This commit is contained in:
Leodyver Semilla
2026-03-19 16:24:58 +08:00
committed by GitHub
parent 11ced33fdb
commit c495753315
2 changed files with 4 additions and 1 deletions
@@ -119,7 +119,7 @@ AND source = :sourceId;
getDuplicateLibraryManga:
WITH
track_dupes AS (
SELECT S2.manga_id
SELECT DISTINCT S2.manga_id
FROM manga_sync S1
INNER JOIN manga_sync S2
ON S1.sync_id = S2.sync_id