Merge branch 'main' into 'validation-tests'
# Conflicts: # minisql/src/schema.rs
This commit is contained in:
commit
6ed6e5c816
11 changed files with 163 additions and 76 deletions
|
|
@ -4,6 +4,7 @@ use crate::internals::table::Table;
|
|||
use crate::operation::{Operation, Condition};
|
||||
use crate::result::DbResult;
|
||||
use bimap::BiMap;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use crate::restricted_row::RestrictedRow;
|
||||
|
||||
// Use `TablePosition` as index
|
||||
|
|
@ -11,7 +12,7 @@ pub type Tables = Vec<Table>;
|
|||
pub type TablePosition = usize;
|
||||
|
||||
// ==============Interpreter================
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct State {
|
||||
table_name_position_mapping: BiMap<TableName, TablePosition>,
|
||||
tables: Tables,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue