diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-04 18:33:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-14 11:16:58 +0200 |
commit | f8f9f7cabca3f0ea1f8b8cb4fecfc45889bdfb94 (patch) | |
tree | 9dbaccc4b647b39acd0dc0c3a03990f250583546 /gnu/build/linux-modules.scm | |
parent | 3931c76154d4f418d5ea9acc5e47bf911d371c24 (diff) | |
download | guix-f8f9f7cabca3f0ea1f8b8cb4fecfc45889bdfb94.tar guix-f8f9f7cabca3f0ea1f8b8cb4fecfc45889bdfb94.tar.gz |
database: Fail registration when encountering unregistered references.
* guix/store/database.scm (add-reference-sql): Remove nested SELECT.
(add-references): Expect REFERENCES to be a list of ids.
(sqlite-register): Call 'path-id' for each of REFERENCES and pass it to
'add-references'.
* tests/store-database.scm ("register-path with unregistered references"):
New test.
Diffstat (limited to 'gnu/build/linux-modules.scm')
0 files changed, 0 insertions, 0 deletions