summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-07 15:27:10 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-07 15:27:10 -0500
commit22d6db4b0a5bae2fda47b7a38c3da7a60944cbe6 (patch)
treef18c2f65311d85818f4830f02324be91c5318b53 /include
parent5be46c6bc1f5b7ee6fdc3a3e72276c8b8bda258b (diff)
downloaddynamic-extension-22d6db4b0a5bae2fda47b7a38c3da7a60944cbe6.tar.gz
Triespline: minor tweak to buffer query
A change that should have been in the last commit
Diffstat (limited to 'include')
-rw-r--r--include/query/rangecount.h3
1 files changed, 2 insertions, 1 deletions
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++;
}
}
}