aboutsummaryrefslogtreecommitdiffstats
path: root/log_db/src/memtable_secondary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'log_db/src/memtable_secondary.rs')
-rw-r--r--log_db/src/memtable_secondary.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/log_db/src/memtable_secondary.rs b/log_db/src/memtable_secondary.rs
index 9086a97..4479516 100644
--- a/log_db/src/memtable_secondary.rs
+++ b/log_db/src/memtable_secondary.rs
@@ -37,4 +37,8 @@ impl SecondaryMemtable {
None => &EMPTY_SET,
}
}
+
+ pub fn remove(&mut self, key: &IndexableValue) -> Option<LogKeySet> {
+ self.records.remove(key)
+ }
}