From 85827e6d687ab6f4dd75b843b9b1828743bc8f1b Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Sat, 3 Dec 2022 17:58:06 +0800 Subject: [PATCH] lifetime --- cozo-core/src/storage/sqlite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cozo-core/src/storage/sqlite.rs b/cozo-core/src/storage/sqlite.rs index 8ba67f70..16f5b013 100644 --- a/cozo-core/src/storage/sqlite.rs +++ b/cozo-core/src/storage/sqlite.rs @@ -126,7 +126,7 @@ pub struct SqliteTx<'a> { lock: Either, RwLockWriteGuard<'a, ()>>, storage: &'a SqliteStorage, conn: Option, - stmts: [RefCell>>; N_CACHED_QUERIES], + stmts: [RefCell>>; N_CACHED_QUERIES], committed: bool, }