diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-11-25 10:42:38 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-11-25 11:03:10 +0100 |
commit | f35dc7058b22a6c7bca23c6696b815f137427fb0 (patch) | |
tree | 52f15a59eea3555fbf9dd2cd3ea70fc06a15ca38 /test | |
parent | 8910447308fa97eaa224b76629bd37b706f62fe1 (diff) | |
download | emacs-f35dc7058b22a6c7bca23c6696b815f137427fb0.tar.gz |
Add sqlite library version string retrieval function (bug#58766)
* src/sqlite.c (sqlite3_libversion, load_dll_functions):
Make sqlite3_libversion available.
(Fsqlite_version): New.
(syms_of_sqlite): Define sqlite-version.
* doc/lispref/text.texi (Database): Document.
* test/src/sqlite-tests.el (sqlite-returning): `RETURNING` was added
in sqlite 3.35; skip the test for older versions.
Diffstat (limited to 'test')
-rw-r--r-- | test/src/sqlite-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/sqlite-tests.el b/test/src/sqlite-tests.el index be4f60ab57f..e9ddf9c0bef 100644 --- a/test/src/sqlite-tests.el +++ b/test/src/sqlite-tests.el @@ -243,6 +243,7 @@ (ert-deftest sqlite-returning () (skip-unless (sqlite-available-p)) + (skip-unless (version<= "3.35" (sqlite-version))) (let (db) (progn (setq db (sqlite-open)) |