]> git.eshelyaron.com Git - emacs.git/commit
Fix loading SQLite extensions
authorEli Zaretskii <eliz@gnu.org>
Sat, 20 May 2023 12:43:44 +0000 (15:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 20 May 2023 12:43:44 +0000 (15:43 +0300)
commitead3a2abbfc347b0f562c1e051b370a0617ee8aa
tree25633d5df72f473e681fc18d2ffb5fae66e0847e
parenta6bddd176582f8bea79ec77e1e27bb583a6ef0b5
Fix loading SQLite extensions

* src/sqlite.c (sqlite3_db_config) [WINDOWSNT]: Load from the DLL.
(Fsqlite_load_extension): Use 'sqlite3_db_config' to enable and
disable loading of extensions.  Add a few free extensions to the
allow-list.  Fix testing for the ".dll" extension.  (Bug#63590)

* test/src/sqlite-tests.el (sqlite-load-extension): Fix the test
to require successful load if the extension does exist.
src/sqlite.c
test/src/sqlite-tests.el