core: remove hash for Table

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
This commit is contained in:
Pere Diaz Bou
2024-07-09 18:14:32 +02:00
parent 46592e7b34
commit d41319a837

View File

@@ -76,17 +76,6 @@ impl PartialEq for Table {
}
}
impl Eq for Table {}
impl std::hash::Hash for Table {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
match self {
Table::BTree(table) => std::ptr::hash(table.as_ref(), state),
Table::Pseudo(table) => std::ptr::hash(table.as_ref(), state),
}
}
}
pub struct BTreeTable {
pub root_page: usize,
pub name: String,