aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-07 18:22:27 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-07 18:22:27 +0200
commitcc4f1aca978d9d4c71d89553e3bcf990c8efab18 (patch)
tree5f1e74e507de0b2db8f252a283a65bc9e7b4ec4e
parent845c344231280edc16c3e6a1ab65b97eb623134c (diff)
downloadgarage-cc4f1aca978d9d4c71d89553e3bcf990c8efab18.tar.gz
garage-cc4f1aca978d9d4c71d89553e3bcf990c8efab18.zip
sqlite can actually tell us its version
-rw-r--r--src/db/sqlite_adapter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sqlite_adapter.rs b/src/db/sqlite_adapter.rs
index 84883772..e11a3e60 100644
--- a/src/db/sqlite_adapter.rs
+++ b/src/db/sqlite_adapter.rs
@@ -72,7 +72,7 @@ impl SqliteDbInner {
impl IDb for SqliteDb {
fn engine(&self) -> String {
- "Sqlite3 (using rusqlite crate)".into()
+ format!("sqlite3 v{} (using rusqlite crate)", rusqlite::version())
}
fn open_tree(&self, name: &str) -> Result<usize> {