Sort the lint-warning-message-ids when querying
This might solve errors where the Guix Data Service is trying to insert a lint_warning_message_set that already exists.
This commit is contained in:
parent
e18f3861f8
commit
f87583016e
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@
|
|||
(string-append
|
||||
"SELECT id FROM lint_warning_message_sets "
|
||||
"WHERE message_ids = ARRAY["
|
||||
(string-join (map number->string lint-warning-message-ids) ", ")
|
||||
(string-join (map number->string
|
||||
(sort lint-warning-message-ids <)) ", ")
|
||||
"]"))))
|
||||
|
||||
(string->number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue