From 5bac3c31d592076b9425235ecde77163913621f0 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 25 Oct 2024 11:32:45 +0200 Subject: [PATCH] Implement TableHandle for ReadOnlyTable --- src/table.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/table.rs b/src/table.rs index 5e838505..346e7b0b 100644 --- a/src/table.rs +++ b/src/table.rs @@ -458,6 +458,12 @@ pub struct ReadOnlyTable { transaction_guard: Arc, } +impl TableHandle for ReadOnlyTable { + fn name(&self) -> &str { + &self.name + } +} + impl ReadOnlyTable { pub(crate) fn new( name: String,