core: Integrate MVCC to B-Tree cursor

This commit is contained in:
Pekka Enberg 2025-03-06 09:27:28 +02:00
parent bf3163c7fe
commit d6c514c8d1
3 changed files with 106 additions and 23 deletions

View file

@ -85,6 +85,8 @@ enum TransactionState {
pub(crate) type MvStore = crate::mvcc::MvStore<crate::mvcc::LocalClock>;
pub(crate) type MvCursor = crate::mvcc::cursor::ScanCursor<crate::mvcc::LocalClock>;
pub struct Database {
mv_store: Option<Rc<MvStore>>,
schema: Arc<RwLock<Schema>>,