database: Ignore BuildProducts duplicates.
Ignore errors when trying to insert an already existing build product. * src/cuirass/database.scm (db-add-build-product): Ignore insertion errors.
This commit is contained in:
parent
4dd9664bf9
commit
83e79f38c8
|
@ -557,7 +557,7 @@ VALUES ("
|
|||
"Insert PRODUCT into BuildProducts table."
|
||||
(with-db-worker-thread db
|
||||
(sqlite-exec db "\
|
||||
INSERT INTO BuildProducts (build, type, file_size, checksum,
|
||||
INSERT OR IGNORE INTO BuildProducts (build, type, file_size, checksum,
|
||||
path) VALUES ("
|
||||
(assq-ref product #:build) ", "
|
||||
(assq-ref product #:type) ", "
|
||||
|
|
Loading…
Reference in New Issue