summaryrefslogtreecommitdiffstats
path: root/include/query
diff options
context:
space:
mode:
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++;
}
}