Handle NULL values when comparing derivation output details set ids
Otherwise this restricts the results to entries where neither value is NULL.
This commit is contained in:
parent
9dde93422c
commit
52ac92e7c7
1 changed files with 9 additions and 1 deletions
|
|
@ -386,8 +386,16 @@ WHERE
|
||||||
"")
|
"")
|
||||||
(if exclude-unchanged-outputs?
|
(if exclude-unchanged-outputs?
|
||||||
"
|
"
|
||||||
AND base_packages.derivation_output_details_set_id <>
|
AND
|
||||||
|
(
|
||||||
|
(
|
||||||
|
base_packages.derivation_output_details_set_id IS NULL OR
|
||||||
|
target_packages.derivation_output_details_set_id IS NULL
|
||||||
|
) OR (
|
||||||
|
base_packages.derivation_output_details_set_id <>
|
||||||
target_packages.derivation_output_details_set_id
|
target_packages.derivation_output_details_set_id
|
||||||
|
)
|
||||||
|
)
|
||||||
"
|
"
|
||||||
"")
|
"")
|
||||||
(cond
|
(cond
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue