summaryrefslogtreecommitdiffstats
path: root/include/query
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-07 15:16:36 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-07 15:16:36 -0500
commitf9f27cf5cf62281b1ee9d3ea3a1cf49e493c2c90 (patch)
treee900df2da6f42f9b833ad176e432d02af2644e32 /include/query
parentf57aa6aee34c5eccd296fbe6b655075c682e97ca (diff)
downloaddynamic-extension-f9f27cf5cf62281b1ee9d3ea3a1cf49e493c2c90.tar.gz
Fixed a few Triespline related bugs
Diffstat (limited to 'include/query')
-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 0898473..24e6705 100644
--- a/include/query/rangecount.h
+++ b/include/query/rangecount.h
@@ -102,10 +102,11 @@ public:
ptr->rec.key <= query->global_parms.upper_bound) {
if (!ptr->is_deleted()) {
- result.record_count++;
if (ptr->is_tombstone()) {
result.tombstone_count++;
+ } else {
+ result.record_count++;
}
}