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 @@ of course. Returns the row id of the row that was modified or inserted."
(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)