database: Don't return rowid from db-add-input.

As it is unused from where db-add-input is called.

* src/cuirass/database.scm (db-add-input): Don't call and
return (last-insert-rowid).
This commit is contained in:
Christopher Baines 2020-01-24 19:46:25 +00:00
parent c238cc9f87
commit 9eb96d1b19
1 changed files with 1 additions and 2 deletions

View File

@ -303,8 +303,7 @@ tag, revision, no_compile_p) VALUES ("
(assq-ref input #:branch) ", "
(assq-ref input #:tag) ", "
(assq-ref input #:commit) ", "
(if (assq-ref input #:no-compile?) 1 0) ");")
(last-insert-rowid db)))
(if (assq-ref input #:no-compile?) 1 0) ");")))
(define (db-add-checkout spec-name eval-id checkout)
"Insert CHECKOUT associated with SPEC-NAME and EVAL-ID. If a checkout with