GNU bug report logs - #59346
Adding sqlite-backup

Previous Next

Package: emacs;

Reported by: Andrew Hyatt <ahyatt <at> gmail.com>

Date: Fri, 18 Nov 2022 02:41:01 UTC

Severity: wishlist

Tags: wontfix

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Hyatt <ahyatt <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Adding sqlite-backup
Date: Thu, 17 Nov 2022 23:40:11 -0300
[Message part 1 (text/plain, inline)]
Currently there's no great way to perform a proper backup of a sqlite
database if you use the built-in sqlite in emacs 29.  If you just copy the
file, there's a chance another database user is in the middle of something,
and the database could be corrupted.

I've included a patch that fixes this. I would the sqlite-backup function
to exist so I can use it in the ELPA triples package.
[Message part 2 (text/html, inline)]
[0001-Add-sqlite-backup-a-function-to-backup-sqlite-databa.patch (application/octet-stream, attachment)]

This bug report was last modified 2 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.