database: Remove extra SQL parameter in 'update-or-insert'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 6 Jun 2018 15:06:05 +0000 (17:06 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 Jun 2018 09:16:59 +0000 (11:16 +0200)
* guix/store/database.scm (update-or-insert): Remove extra #:path
parameter.

guix/store/database.scm

index 1400d0d..b9170dd 100644 (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)