From 7a2d86c376488cc756c0325e6edaf3406a86ec5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20G=C3=B3mez=20Ferro?= Date: Mon, 7 Feb 2022 15:29:29 +0000 Subject: SERVER-61939 Tighter bounds for clustered collection scans --- src/mongo/db/query/query_solution.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/query/query_solution.h') 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 minRecord; + boost::optional minRecord; // If present, this parameter sets the start point of a reverse scan or the end point of a // forward scan. - boost::optional maxRecord; + boost::optional maxRecord; // If true, the collection scan will return a token that can be used to resume the scan. bool requestResumeToken = false; -- cgit v1.2.1