diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2023-06-09 11:29:58 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2023-06-09 11:29:58 -0400 |
| commit | f73a55cb2c8d8d800a379f9272a5c6b4730587a7 (patch) | |
| tree | cf132c7ababab37299e6e732ea6f6e6fc87f79f5 /include/framework | |
| parent | cd7f2c7bee1c44e9e11ab75d6674ba5d05c6ba84 (diff) | |
| download | dynamic-extension-f73a55cb2c8d8d800a379f9272a5c6b4730587a7.tar.gz | |
Fixed bug(s) in tagging-based deletes
Diffstat (limited to 'include/framework')
| -rw-r--r-- | include/framework/DynamicExtension.h | 2 | ||||
| -rw-r--r-- | include/framework/InternalLevel.h | 1 |
2 files changed, 2 insertions, 1 deletions
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; } } } |