From cc4f1aca978d9d4c71d89553e3bcf990c8efab18 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 18:22:27 +0200 Subject: sqlite can actually tell us its version --- src/db/sqlite_adapter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3