summaryrefslogtreecommitdiffstats
path: root/include/shard/PGM.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-07-03 16:32:35 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-07-03 16:32:35 -0400
commit4ee495b0727ed40ec5923fe0909b9fda7c119263 (patch)
treeaa4cad9e1d6f7ad68d5d7c135a4f200ad82efb60 /include/shard/PGM.h
parentf39e512ae3848abd1d3c68349c1a8fbe97be91b5 (diff)
downloaddynamic-extension-4ee495b0727ed40ec5923fe0909b9fda7c119263.tar.gz
Bugfixes
Diffstat (limited to 'include/shard/PGM.h')
-rw-r--r--include/shard/PGM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shard/PGM.h b/include/shard/PGM.h
index f3f5106..73688ae 100644
--- a/include/shard/PGM.h
+++ b/include/shard/PGM.h
@@ -318,7 +318,7 @@ public:
ptr++;
}
- while (ptr->rec.key <= p->upper_bound && ptr < ptr + s->stop_idx) {
+ while (ptr->rec.key <= p->upper_bound && ptr < ts->m_data + s->stop_idx) {
records.emplace_back(*ptr);
ptr++;
}