aboutsummaryrefslogtreecommitdiff
path: root/src/table/table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/table.rs')
-rw-r--r--src/table/table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/table.rs b/src/table/table.rs
index bcf407ec..8b16173e 100644
--- a/src/table/table.rs
+++ b/src/table/table.rs
@@ -433,7 +433,7 @@ where
let removed = self.store.transaction(|txn| {
if let Some(cur_v) = txn.get(k)? {
if cur_v == v {
- txn.remove(v)?;
+ txn.remove(k)?;
return Ok(true);
}
}