From 22d6db4b0a5bae2fda47b7a38c3da7a60944cbe6 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Tue, 7 Jan 2025 15:27:10 -0500 Subject: Triespline: minor tweak to buffer query A change that should have been in the last commit --- include/query/rangecount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/query/rangecount.h b/include/query/rangecount.h index 24e6705..0743ee6 100644 --- a/include/query/rangecount.h +++ b/include/query/rangecount.h @@ -125,9 +125,10 @@ public: if (rec->rec.key >= query->global_parms.lower_bound && rec->rec.key <= query->global_parms.upper_bound) { if (!rec->is_deleted()) { - result.record_count++; if (rec->is_tombstone()) { result.tombstone_count++; + } else { + result.record_count++; } } } -- cgit v1.2.3