diff --git a/core/lib.rs b/core/lib.rs index 136167e5f..3171576cb 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -1179,7 +1179,7 @@ impl Connection { &self.syms.read(), None, existing_views, - self._db.mv_store.as_ref(), + self.db.mv_store.as_ref(), )?; tracing::debug!( @@ -1797,7 +1797,7 @@ impl Connection { &syms, None, existing_views, - self._db.mv_store.as_ref(), + self.db.mv_store.as_ref(), ) { // this means that a vtab exists and we no longer have the module loaded. we print // a warning to the user to load the module diff --git a/core/mvcc/database/mod.rs b/core/mvcc/database/mod.rs index 81a002d9f..047695a42 100644 --- a/core/mvcc/database/mod.rs +++ b/core/mvcc/database/mod.rs @@ -893,7 +893,7 @@ impl StateTransition for CommitStateMachine { }; if schema_did_change { let schema = connection.schema.borrow().clone(); - connection._db.update_schema_if_newer(schema)?; + connection.db.update_schema_if_newer(schema)?; } if mvcc_store.storage.is_logical_log() { let tx = mvcc_store.txs.get(&self.tx_id).unwrap();