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
>> So I would encourage you to always (i.e., not only in sqlite-select)
>> signal
>>
>> (sqlite-error sqlite_errstr() sqlite_errmsg() sqlite_errcode())
>
> Patches welcome.
I hope these changes make sense to someone more experienced.
I have included the value of sqlite3_extended_errcode() in the error
data, but have left out sqlite3_error_offset() because that function
is too new (but we could append it at a later time).
Cheers,
Jonas
Jonas Bernoulli (3):
Use xsignal1 as required by argument type
Introduce a new sqlite-error
Improve error data signaled by sqlite-execute et al.
src/sqlite.c | 57 ++++++++++++++++++++++++++++++----------------------
1 file changed, 33 insertions(+), 24 deletions(-)
--
2.38.0
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.