mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
core: Integrate MVCC to B-Tree cursor
This commit is contained in:
parent
bf3163c7fe
commit
d6c514c8d1
3 changed files with 106 additions and 23 deletions
|
@ -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>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue