diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-06-19 15:37:05 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-19 15:37:05 +0200 |
commit | c3ff064e97e40388474d4b879ac2ea51b3523381 (patch) | |
tree | ff9283295d71c5127eea02ef9a4e310a3b4f5ff7 | |
parent | 5885b9814d0f53dbac7d1b22f392b86199c2d976 (diff) | |
download | cuirass-c3ff064e97e40388474d4b879ac2ea51b3523381.tar cuirass-c3ff064e97e40388474d4b879ac2ea51b3523381.tar.gz |
database: query->bind-arguments: Ignore invalid query terms.
* src/cuirass/database.scm (query->bind-arguments): Ignore invalid query
terms.
-rw-r--r-- | src/cuirass/database.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm index 4733d3d..f74ebdd 100644 --- a/src/cuirass/database.scm +++ b/src/cuirass/database.scm @@ -565,6 +565,7 @@ WHERE derivation =" derivation ";")) `(#:system ,system)) (("spec" spec) `(#:spec ,spec)) + ((_ invalid) '()) ; ignore ((query) `(#:query ,(string-append query "-%"))))) (string-tokenize query-string)))) |