GNU bug report logs -
#58363
29.0.50; sqlite-select does not signal errors and errors should be improved
Previous Next
Reported by: Jonas Bernoulli <jonas <at> bernoul.li>
Date: Fri, 7 Oct 2022 18:54:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Jonas Bernoulli <jonas <at> bernoul.li>
> Date: Fri, 21 Oct 2022 23:06:34 +0200
>
> * src/sqlite.c (sqlite-load-extension): Use xsignal1.
> ---
> src/sqlite.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/sqlite.c b/src/sqlite.c
> index 1526e344e5..7861a699f4 100644
> --- a/src/sqlite.c
> +++ b/src/sqlite.c
> @@ -675,7 +675,7 @@ DEFUN ("sqlite-load-extension", Fsqlite_load_extension,
> }
>
> if (!do_allow)
> - xsignal (Qerror, build_string ("Module name not on allowlist"));
> + xsignal1 (Qerror, build_string ("Module name not on allowlist"));
Why Qerror here and not Qsqlite_error? And if the more general Qerror
is deliberate, then why not Qmodule_load_failed, for instance?
This bug report was last modified 2 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.