main
Ziyang Hu 2 years ago
parent 71f1530368
commit 85827e6d68

@ -126,7 +126,7 @@ pub struct SqliteTx<'a> {
lock: Either<RwLockReadGuard<'a, ()>, RwLockWriteGuard<'a, ()>>,
storage: &'a SqliteStorage,
conn: Option<Connection>,
stmts: [RefCell<Option<Statement<'static>>>; N_CACHED_QUERIES],
stmts: [RefCell<Option<Statement<'a>>>; N_CACHED_QUERIES],
committed: bool,
}

Loading…
Cancel
Save