From b346d02b98f11f39b39f8828490a8a133459b166 Mon Sep 17 00:00:00 2001 From: gwenn Date: Tue, 13 Dec 2022 19:52:32 +0100 Subject: [PATCH] Fix build error After merging PRs #1263 and #1248 --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 66a25cb..24227cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -949,12 +949,10 @@ impl Connection { /// and owned by the caller, e.g. as a result of calling ffi::sqlite3_open(). #[inline] pub unsafe fn from_handle_owned(db: *mut ffi::sqlite3) -> Result { - let db_path = db_filename(db); let db = InnerConnection::new(db, true); Ok(Connection { db: RefCell::new(db), cache: StatementCache::with_capacity(STATEMENT_CACHE_DEFAULT_CAPACITY), - path: db_path, }) }