From: Wojtek Kosior via Guix-patches via <guix-patches@gnu.org>
To: 70245@debbugs.gnu.org
Cc: "Wojtek Kosior" <koszko@koszko.org>,
"Christopher Baines" <guix@cbaines.net>,
"Josselin Poiret" <dev@jpoiret.xyz>,
"Ludovic Courtès" <ludo@gnu.org>,
"Mathieu Othacehe" <othacehe@gnu.org>,
"Ricardo Wurmus" <rekado@elephly.net>,
"Simon Tournier" <zimon.toutoune@gmail.com>,
"Tobias Geerinckx-Rice" <me@tobias.gr>
Subject: [bug#70245] [PATCH 2/2] store: database: Use correct function name in assertion.
Date: Sat, 6 Apr 2024 22:37:08 +0200 [thread overview]
Message-ID: <7ccff5eb36b8ffe0713660f843165677447e1023.1712435265.git.koszko@koszko.org> (raw)
In-Reply-To: <cover.1712435265.git.koszko@koszko.org>
* guix/store/database.scm (register-valid-path): Replace "sqlite-register"
with "register-valid-path" as argument to `assert-integer'.
Change-Id: Id93687e90d0a806d715006ca0b2498a1d10cfba6
---
guix/store/database.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/store/database.scm b/guix/store/database.scm
index 58d3871e85..a847f9d2f0 100644
--- a/guix/store/database.scm
+++ b/guix/store/database.scm
@@ -247,8 +247,9 @@ (define* (register-valid-path db #:key path (references '())
(time-second time))
;; Make sure NAR-SIZE is valid.
- (assert-integer "sqlite-register" positive? #:nar-size nar-size)
- (assert-integer "sqlite-register" (cut >= <> 0) #:time registration-time)
+ (assert-integer "register-valid-path" positive? #:nar-size nar-size)
+ (assert-integer "register-valid-path" (cut >= <> 0)
+ #:time registration-time)
(define id
(let ((existing-id (valid-path-id db path)))
--
2.41.0
next prev parent reply other threads:[~2024-04-06 21:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-06 20:30 [bug#70245] [PATCH 0/2] Finalize renaming of `sqlite-register' (fix `guix system init') Wojtek Kosior via Guix-patches via
2024-04-06 20:37 ` [bug#70245] [PATCH 1/2] scripts: system: Rename `sqlite-register' Wojtek Kosior via Guix-patches via
2024-04-06 20:37 ` Wojtek Kosior via Guix-patches via [this message]
2024-04-07 21:13 ` [bug#70245] [PATCH 0/2] Finalize renaming of `sqlite-register' (fix `guix system init') Tomas Volf
2024-04-08 14:54 ` bug#70245: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ccff5eb36b8ffe0713660f843165677447e1023.1712435265.git.koszko@koszko.org \
--to=guix-patches@gnu.org \
--cc=70245@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=guix@cbaines.net \
--cc=koszko@koszko.org \
--cc=ludo@gnu.org \
--cc=me@tobias.gr \
--cc=othacehe@gnu.org \
--cc=rekado@elephly.net \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).