summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.h
diff options
context:
space:
mode:
authorDaniel Gómez Ferro <daniel.gomezferro@mongodb.com>2022-02-07 15:29:29 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-07 18:50:45 +0000
commit7a2d86c376488cc756c0325e6edaf3406a86ec5d (patch)
tree660a74392777be30a2d629bde1951b21c3a61883 /src/mongo/db/query/query_solution.h
parent59e19dc9bff797fc1cff45d56942e5e61da36f1a (diff)
downloadmongo-7a2d86c376488cc756c0325e6edaf3406a86ec5d.tar.gz
SERVER-61939 Tighter bounds for clustered collection scans
Diffstat (limited to 'src/mongo/db/query/query_solution.h')
-rw-r--r--src/mongo/db/query/query_solution.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_solution.h b/src/mongo/db/query/query_solution.h
index e91bb18f7ab..d63704a3afa 100644
--- a/src/mongo/db/query/query_solution.h
+++ b/src/mongo/db/query/query_solution.h
@@ -40,6 +40,7 @@
#include "mongo/db/query/classic_plan_cache.h"
#include "mongo/db/query/index_bounds.h"
#include "mongo/db/query/plan_enumerator_explain_info.h"
+#include "mongo/db/query/record_id_bound.h"
#include "mongo/db/query/stage_types.h"
#include "mongo/util/id_generator.h"
@@ -444,11 +445,11 @@ struct CollectionScanNode : public QuerySolutionNodeWithSortSet {
// If present, this parameter sets the start point of a forward scan or the end point of a
// reverse scan.
- boost::optional<RecordId> minRecord;
+ boost::optional<RecordIdBound> minRecord;
// If present, this parameter sets the start point of a reverse scan or the end point of a
// forward scan.
- boost::optional<RecordId> maxRecord;
+ boost::optional<RecordIdBound> maxRecord;
// If true, the collection scan will return a token that can be used to resume the scan.
bool requestResumeToken = false;