Remove a now redundant part of the maybe-delete-derivation query
As this is covered by the big query selecting the derivation ids.
This commit is contained in:
parent
d844b325e2
commit
3330f034a4
1 changed files with 0 additions and 10 deletions
|
|
@ -313,16 +313,6 @@ AND NOT EXISTS (
|
||||||
FROM derivation_outputs
|
FROM derivation_outputs
|
||||||
WHERE derivation_id = $1
|
WHERE derivation_id = $1
|
||||||
)
|
)
|
||||||
) AND NOT EXISTS (
|
|
||||||
SELECT 1
|
|
||||||
FROM package_derivations
|
|
||||||
WHERE package_derivations.derivation_id = derivation_outputs.derivation_id
|
|
||||||
) AND NOT EXISTS (
|
|
||||||
SELECT 1 FROM channel_instances
|
|
||||||
WHERE derivation_id = $1
|
|
||||||
) AND NOT EXISTS (
|
|
||||||
SELECT 1 FROM guix_revision_system_test_derivations
|
|
||||||
WHERE derivation_id = $1
|
|
||||||
)
|
)
|
||||||
RETURNING derivation_outputs.derivation_output_details_id"
|
RETURNING derivation_outputs.derivation_output_details_id"
|
||||||
(list id)))
|
(list id)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue