GNU bug report logs -
#70145
[PATCH] Add sqlite-execute-batch command
Previous Next
Reported by: Javier Olaechea <pirata <at> gmail.com>
Date: Tue, 2 Apr 2024 15:05:01 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 06 Jun 2024 13:08:25 +0300
with message-id <864ja6idt2.fsf <at> gnu.org>
and subject line Re: bug#70145: [PATCH] Add sqlite-execute-batch command
has caused the debbugs.gnu.org bug report #70145,
regarding [PATCH] Add sqlite-execute-batch command
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
70145: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70145
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi, while writing tests for an Emacs package I found myself needing to
execute multiple statements against an in-memory database, to initialize
the schema. Currently there is no easy way to do so as sqlite-execute
only executes the first command and ignores the rest. The reason most
likely being that accepting arguments for multiple statements and
properly preparing would be a tricky task. So instead I'm adding the
functionality as a new function that takes no arguments.
In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.18.0, Xaw3d scroll bars)
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.6 LTS
Configured using:
'configure
--prefix=/nix/store/0g4xxdsn4xp9qhgc4cylbksqpwsn51vc-emacs-29.1
--disable-build-details --with-modules --with-x-toolkit=lucid
--with-xft --with-cairo --with-native-compilation --with-tree-sitter
--with-xinput2'
--
"I object to doing things that computers can do." — Olin Shivers
[Message part 4 (text/html, inline)]
[0001-Add-sqlite-execute-batch-command.patch (text/x-patch, attachment)]
[Message part 6 (message/rfc822, inline)]
> From: Javier Olaechea <pirata <at> gmail.com>
> Date: Sat, 13 Apr 2024 22:32:05 -0500
> Cc: jp <at> neverwas.me, 70145 <at> debbugs.gnu.org
>
> Thanks. This should have a NEWS entry announcing the new command
>
> Updated the patch to include the NEWS entry.
>
> Also, to accept this contribution, we'd need a copyright assignment
> from you. Would you like to start the paperwork for that at this
> time? If yes, I will send you the form to fill and the instructions
> to go with it.
>
> Yes, please send the form please.
Now that the copyright assignment paperwork is done, I've installed
this on the master branch, and I'm closing this bug.
Thanks.
This bug report was last modified 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.