mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
fix(sqlite): remove unused queries and fix formatting
This commit is contained in:
parent
f87f9aa2ff
commit
8274d5f3af
1 changed files with 2 additions and 2 deletions
|
|
@ -1466,9 +1466,9 @@ func (qb *SceneStore) FindDuplicates(ctx context.Context, distance int, duration
|
|||
"files_fingerprints.fingerprint as phash",
|
||||
"abs(max(video_files.duration) OVER (PARTITION by files_fingerprints.fingerprint) - video_files.duration) as durationDiff",
|
||||
}
|
||||
|
||||
|
||||
sqlStr := query.toSQL(false)
|
||||
|
||||
|
||||
finalQuery := `
|
||||
SELECT GROUP_CONCAT(DISTINCT scene_id) as ids
|
||||
FROM (` + sqlStr + `)
|
||||
|
|
|
|||
Loading…
Reference in a new issue