]> git.eshelyaron.com Git - emacs.git/commit
Improve error message from sqlite-execute
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Oct 2022 00:18:19 +0000 (02:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Oct 2022 00:18:19 +0000 (02:18 +0200)
commit36ab1644964ae5a933bd9808536f60d4ae64c99f
treec488176bb145222d1881e64cb7d1e1a893975d82
parentebc19f56aaeb98b834eea1ce8768ca13bed8578c
Improve error message from sqlite-execute

* src/sqlite.c (sqlite_prepare_errmsg): New function.
(Fsqlite_execute): Use it to get the same error format for both
execute and select.
(Fsqlite_select): Factored out from here.
src/sqlite.c