Subject: sqlite-returning tests fails with older SQLite library versions

From: Mattias Engdegård <[email-masked]>
Date: Mon, 24 Oct 2022 11:50:00 +0200

The recently added sqlite-returning test fails when the SQLite library does not implement RETURNING, added in 3.35.

What about adding a Lisp function for retrieving the SQLite library version? It can be used to skip this particular test but would also be useful on its own.

Proof-of-concept patch attached.