From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KK1AMMyTDWYZYwEAqHPOHw:P1 (envelope-from ) for ; Wed, 03 Apr 2024 19:37:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KK1AMMyTDWYZYwEAqHPOHw (envelope-from ) for ; Wed, 03 Apr 2024 19:37:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712165836; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=77qXSY6Z6jFHkZdCCm4nDnQIrUM9lm6zCqxCnSsGfgc=; b=q984MiqpYdT2TpihkFYvqg8eNaQh3ZWfbmKRsyoSmpxL9EihWA/Gn34dJdVn8DSsQw7rtr 9fn1RppXBKq5SHEHVD8u9hjBFWEG7fzuemKChtfwv2A/CZHCxIDDmWiZZDlicSjdx97BrP QJBMUL6BWEGbZvodna72kTUnPJVRjl9mqiO/VZTs26L3q3EBdDWwR9iOX14XWSEAoSSKgO APc6n+bQjQseQp+/iMWRv6F/3ndOUwnbREVKjHBh4aLVddUAmMdg2P0o6RvWmiLrX+Da1J bnr924XW7hpJ02iLw35i3GMb6O5Bh+BTOTBI4EXpfA+FY5xvmKS29UuNtPFf1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712165836; a=rsa-sha256; cv=none; b=JpsuCgTG3pCkuJUqk5FxC4mpLzNeYoSgzzknnqEJfq+mJMX5L9TK5wzmh/PtTg8uypeXql zVESEExZIcMEGdq45mqRkWhWd+raw3mzSGafHcRGLZJPLJLo7ymdB5gPMIQUqzAQTkJqP7 fQl6djUNyDiR4IY8NO51wFMNcmU+vKi3PMsbDLhuAc3wDMEyeoMEHpZ6FZf1DDiO3+benY yCvWKU46OD2mrztgmgmHjJuZM6aW3/MZRiBwGLltSsM7CTCaPuPEWEKnKR1FaOVq8G78R7 fVnPaTJnfOiWxNIWrLJLqXJWzYjb1QskhUUBFs6QX7YPCwRz8IQrjTmoE15/YQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A486214E07 for ; Wed, 3 Apr 2024 19:37:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rs4Xk-0001Qn-A8; Wed, 03 Apr 2024 13:37:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rs4Xh-0001Pr-Vs for guix-patches@gnu.org; Wed, 03 Apr 2024 13:36:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rs4Xh-0003tQ-MX for guix-patches@gnu.org; Wed, 03 Apr 2024 13:36:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rs4Xm-00089u-3V for guix-patches@gnu.org; Wed, 03 Apr 2024 13:37:02 -0400 Subject: bug#69292: [PATCH 0/6] Prepare the database code for use in the daemon Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2024 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 69292 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69292-done@debbugs.gnu.org Mail-Followup-To: 69292@debbugs.gnu.org, mail@cbaines.net, mail@cbaines.net Received: via spool by 69292-done@debbugs.gnu.org id=D69292.171216577231098 (code D ref 69292); Wed, 03 Apr 2024 17:37:01 +0000 Received: (at 69292-done) by debbugs.gnu.org; 3 Apr 2024 17:36:12 +0000 Received: from localhost ([127.0.0.1]:59463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs4Wy-00085W-Ez for submit@debbugs.gnu.org; Wed, 03 Apr 2024 13:36:12 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:39353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs4Wv-00085E-SX for 69292-done@debbugs.gnu.org; Wed, 03 Apr 2024 13:36:10 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id F1F7027BBE2 for <69292-done@debbugs.gnu.org>; Wed, 3 Apr 2024 18:36:04 +0100 (BST) Received: from felis (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9c018383 for <69292-done@debbugs.gnu.org>; Wed, 3 Apr 2024 17:36:04 +0000 (UTC) From: Christopher Baines In-Reply-To: <87h6i3lyph.fsf@cbaines.net> (Christopher Baines's message of "Tue, 20 Feb 2024 19:20:45 +0000") References: <87h6i3lyph.fsf@cbaines.net> User-Agent: mu4e 1.12.2; emacs 29.3 Date: Wed, 03 Apr 2024 18:36:04 +0100 Message-ID: <87y19uic1n.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.43 X-Spam-Score: -8.43 X-Migadu-Queue-Id: A486214E07 X-Migadu-Scanner: mx12.migadu.com X-TUID: ilYDnih+5pcL --=-=-= Content-Type: text/plain Christopher Baines writes: > These changes prepare the database module for use in a Guile > implementation of the guix-daemon. > > There's quite a few procedures that need adding, but these changes just > adapt the existing functionality in to something that can be built on. > > > Christopher Baines (6): > store: database: Remove call-with-savepoint and associated code. > store: database: Remove with-statement and associated code. > store: database: Inline SQL to where it's used. > store: database: Stop finalizing prepared statements. > store: database: Refactor sqlite-register. > store: database: Rename a couple of procedures. > > .dir-locals.el | 3 - > guix/store/database.scm | 273 +++++++++++++++++----------------------- > 2 files changed, 112 insertions(+), 164 deletions(-) I've pushed these to master as c9cd16c630ccba655b93ff32fd9a99570b4f5373. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmYNk4RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdY8g//VKUlDMUdMmRLfOl0gtQLKnKhooNXS+dG sYS4G9WNIUapvQ0Umgp60zvrGJaAZGIR60Uk4dv1I1rGRCkUUhpNIq2bwIJC3qlN OwqNcyrV/7RnWx65ZP/FHgMjk83aKURdA2CQxo/dQVWz1wQoPm/EOwr3uBuklcrd UxoSQh7v9a1eyAZmeu/46OszpbfCDADlrbwM+ZZElM92pQ6Oqe3N4Z0PkhrhonL3 wn6/hBb+bi0sPps0M+GfFYelTvGFZnEjcJHt6SNGKe235sbUPg6a1UPMZa60M2x8 cJtSmggGtbWzfP7DM0xIrEizoGD1jp/yoxW43zS2LPy+6iap5WFErc+N1XJLk2Sm WUW+HJbPDYTvrKYqotcEjujs66/2IRc9THivQoTKaiUshuLox/LFAsySzpHTmTEL lde6IgEnmNW+zLX5j8c9JTcrD39sW0pXCs6fsY1DwgF6AggZLFxEU+130x5fYaGc 1AdrykTeJsVY6W/404stkVwIkqo3qVdaKxiaKOkbMOyoiUj23ing2NqkT9Mh3LE2 25t5gvmZQ2/7vzu7rIoez0PDF6RPS0c4veXk2MguBZFuD1gpIhk8wlZFRwU/qSVc udvM/uCozv6Ve7va07iTsBAsSeo9Zs1afWvXmtQpkSAK3Db2r6jkklzJeHW59JEf ieKYlPAHQHo= =rYh8 -----END PGP SIGNATURE----- --=-=-=--