This commit is contained in:
gwenn 2018-11-22 16:53:44 +01:00
parent 2b8eee2b83
commit 000566811f

View File

@ -800,7 +800,7 @@ impl InnerConnection {
#[cfg(feature = "hooks")] #[cfg(feature = "hooks")]
fn new(db: *mut ffi::sqlite3) -> InnerConnection { fn new(db: *mut ffi::sqlite3) -> InnerConnection {
InnerConnection { InnerConnection {
db: db, db,
interrupt_lock: Arc::new(Mutex::new(db)), interrupt_lock: Arc::new(Mutex::new(db)),
free_commit_hook: None, free_commit_hook: None,
free_rollback_hook: None, free_rollback_hook: None,