diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-01-07 15:27:10 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-01-07 15:27:10 -0500 |
| commit | 22d6db4b0a5bae2fda47b7a38c3da7a60944cbe6 (patch) | |
| tree | f18c2f65311d85818f4830f02324be91c5318b53 /include/query/rangecount.h | |
| parent | 5be46c6bc1f5b7ee6fdc3a3e72276c8b8bda258b (diff) | |
| download | dynamic-extension-22d6db4b0a5bae2fda47b7a38c3da7a60944cbe6.tar.gz | |
Triespline: minor tweak to buffer query
A change that should have been in the last commit
Diffstat (limited to 'include/query/rangecount.h')
| -rw-r--r-- | include/query/rangecount.h | 3 |
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++; } } } |