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

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
Leodyver Semilla
2026-03-19 16:24:58 +08:00
committed by Jobobby04
parent 60758f89ed
commit 97f3dd3b25
@@ -120,7 +120,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