database: Remove extra SQL parameter in 'update-or-insert'.

* guix/store/database.scm (update-or-insert): Remove extra #:path
parameter.
This commit is contained in:
Ludovic Courtès 2018-06-06 17:06:05 +02:00
parent 0d0438ed8c
commit b85e2ff484
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -127,7 +127,7 @@ (define* (update-or-insert db #:key path deriver hash nar-size time)
(if id
(let ((stmt (sqlite-prepare db update-sql #:cache? #t)))
(sqlite-bind-arguments stmt #:id id
#:path path #:deriver deriver
#:deriver deriver
#:hash hash #:size nar-size #:time time)
(sqlite-fold cons '() stmt)
(sqlite-finalize stmt)