diff --git a/src/lib.rs b/src/lib.rs index 1e32098..99f7f16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -800,7 +800,7 @@ impl InnerConnection { #[cfg(feature = "hooks")] fn new(db: *mut ffi::sqlite3) -> InnerConnection { InnerConnection { - db: db, + db, interrupt_lock: Arc::new(Mutex::new(db)), free_commit_hook: None, free_rollback_hook: None,