summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2019-09-13 20:24:05 +0000
committerevergreen <evergreen@mongodb.com>2019-09-13 20:24:05 +0000
commit092c4a7944279a15dbb2fbcf7c03bcd5105092db (patch)
tree6e7101d03252ab6f379257fab4bd743f5e88d1ea /src/mongo/db/query/query_solution.h
parentd832971810c64029c66c1376ce34d47aebba6455 (diff)
downloadmongo-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.h7
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 {