Subject: bug#58363: 29.0.50; sqlite-select does not signal errors and errors should be improved

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 08 Oct 2022 15:41:51 +0200

Jonas Bernoulli <[email-masked]> writes:

> sqlite-select does not signal any errors.  This just returns nil for
> example:
>
>   (sqlite-select (sqlite-open nil) "SELECT * FROM no_such_table")
>
> At least some of the other functions do signal errors when appropriate.

I've now made this signal an error:

Debugger entered--Lisp error: (error "SQL logic error")

Eli, this also required changes for the Windows macrology at the start
of src/sqlite.c -- can you check whether I broke anything?