summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_solution.h')
-rw-r--r--src/mongo/db/query/query_solution.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/mongo/db/query/query_solution.h b/src/mongo/db/query/query_solution.h
index 9d0c8f5f9bf..c0d3411dd44 100644
--- a/src/mongo/db/query/query_solution.h
+++ b/src/mongo/db/query/query_solution.h
@@ -1172,38 +1172,6 @@ struct CountScanNode : public QuerySolutionNodeWithSortSet {
bool endKeyInclusive;
};
-/**
- * This stage drops results that are out of sorted order.
- */
-struct EnsureSortedNode : public QuerySolutionNode {
- EnsureSortedNode() {}
- virtual ~EnsureSortedNode() {}
-
- virtual StageType getType() const {
- return STAGE_ENSURE_SORTED;
- }
-
- virtual void appendToString(str::stream* ss, int indent) const;
-
- bool fetched() const {
- return children[0]->fetched();
- }
- FieldAvailability getFieldAvailability(const std::string& field) const {
- return children[0]->getFieldAvailability(field);
- }
- bool sortedByDiskLoc() const {
- return children[0]->sortedByDiskLoc();
- }
- const ProvidedSortSet& providedSorts() const {
- return children[0]->providedSorts();
- }
-
- QuerySolutionNode* clone() const;
-
- // The pattern that the results should be sorted by.
- BSONObj pattern;
-};
-
struct EofNode : public QuerySolutionNodeWithSortSet {
EofNode() {}