From f73a55cb2c8d8d800a379f9272a5c6b4730587a7 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Fri, 9 Jun 2023 11:29:58 -0400 Subject: Fixed bug(s) in tagging-based deletes --- include/framework/DynamicExtension.h | 2 +- include/framework/InternalLevel.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include/framework') diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h index 800bc85..544cd8f 100644 --- a/include/framework/DynamicExtension.h +++ b/include/framework/DynamicExtension.h @@ -85,7 +85,7 @@ public: int erase(const R &rec) { Buffer *buffer; - if constexpr (L == LayoutPolicy::LEVELING) { + if constexpr (D == DeletePolicy::TAGGING) { auto buffer = get_buffer(); // Check the levels first. This assumes there aren't diff --git a/include/framework/InternalLevel.h b/include/framework/InternalLevel.h index 8554392..ec8ffc4 100644 --- a/include/framework/InternalLevel.h +++ b/include/framework/InternalLevel.h @@ -125,6 +125,7 @@ public: auto res = m_shards[i]->point_lookup(rec); if (res) { res->set_delete(); + return true; } } } -- cgit v1.2.3