guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Avoid errors dropping partition tables if they do


From: Christopher Baines
Subject: branch master updated: Avoid errors dropping partition tables if they don't exist
Date: Mon, 13 Feb 2023 15:10:39 -0500

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository data-service.

The following commit(s) were added to refs/heads/master by this push:
     new 9872367  Avoid errors dropping partition tables if they don't exist
9872367 is described below

commit 9872367c01d95ed3fc5c73dd8ea31c3fa851f189
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Mon Feb 13 20:10:23 2023 +0000

    Avoid errors dropping partition tables if they don't exist
---
 guix-data-service/data-deletion.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/data-deletion.scm 
b/guix-data-service/data-deletion.scm
index a91d02b..07aeba5 100644
--- a/guix-data-service/data-deletion.scm
+++ b/guix-data-service/data-deletion.scm
@@ -222,7 +222,7 @@ WHERE id IN (
         conn
         (string-append
          "
-DROP TABLE package_derivations_by_guix_revision_range_git_branch_"
+DROP TABLE IF EXISTS package_derivations_by_guix_revision_range_git_branch_"
          (number->string git-branch-id) ";")))
 
      (delete-guix-revisions conn git-repository-id commits))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]