core/schema: parse schema rows for MVCC transactions

This commit is contained in:
Pere Diaz Bou
2025-09-17 14:22:58 +00:00
parent a0555c254d
commit d53c64e84b
5 changed files with 41 additions and 6 deletions

View File

@@ -1868,6 +1868,11 @@ impl<Clock: LogicalClock> MvStore<Clock> {
Ok(())
}
// Mark table as loaded
pub fn mark_table_as_loaded(&self, table_id: u64) {
self.loaded_tables.write().insert(table_id);
}
/// Scans the table and inserts the rows into the database.
///
/// This is initialization step for a table, where we still don't have any rows so we need to insert them if there are.