diff options
author | David Storch <david.storch@mongodb.com> | 2019-09-13 20:24:05 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-13 20:24:05 +0000 |
commit | 092c4a7944279a15dbb2fbcf7c03bcd5105092db (patch) | |
tree | 6e7101d03252ab6f379257fab4bd743f5e88d1ea /src/mongo/db/query/query_solution.h | |
parent | d832971810c64029c66c1376ce34d47aebba6455 (diff) | |
download | mongo-092c4a7944279a15dbb2fbcf7c03bcd5105092db.tar.gz |
SERVER-42583 Thread 'tempDir' through to SortStage.
This makes it possible to instantiate a SortExecutor inside
SortStage.
Diffstat (limited to 'src/mongo/db/query/query_solution.h')
-rw-r--r-- | src/mongo/db/query/query_solution.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/query/query_solution.h b/src/mongo/db/query/query_solution.h index 48a0288a317..57e710ff707 100644 --- a/src/mongo/db/query/query_solution.h +++ b/src/mongo/db/query/query_solution.h @@ -732,10 +732,7 @@ struct SortKeyGeneratorNode : public QuerySolutionNode { }; struct SortNode : public QuerySolutionNode { - SortNode() - : _sorts(SimpleBSONObjComparator::kInstance.makeBSONObjSet()), - limit(0), - allowDiskUse(false) {} + SortNode() : _sorts(SimpleBSONObjComparator::kInstance.makeBSONObjSet()), limit(0) {} virtual ~SortNode() {} @@ -775,8 +772,6 @@ struct SortNode : public QuerySolutionNode { // Sum of both limit and skip count in the parsed query. size_t limit; - - bool allowDiskUse; }; struct LimitNode : public QuerySolutionNode { |