summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r--src/mongo/db/query/query_solution.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp
index 28663f40e1c..d7561bb9675 100644
--- a/src/mongo/db/query/query_solution.cpp
+++ b/src/mongo/db/query/query_solution.cpp
@@ -1296,30 +1296,6 @@ QuerySolutionNode* CountScanNode::clone() const {
}
//
-// EnsureSortedNode
-//
-
-void EnsureSortedNode::appendToString(str::stream* ss, int indent) const {
- addIndent(ss, indent);
- *ss << "ENSURE_SORTED\n";
- addIndent(ss, indent + 1);
- *ss << "pattern = " << pattern.toString() << '\n';
- addCommon(ss, indent);
- addIndent(ss, indent + 1);
- *ss << "Child:" << '\n';
- children[0]->appendToString(ss, indent + 2);
-}
-
-QuerySolutionNode* EnsureSortedNode::clone() const {
- EnsureSortedNode* copy = new EnsureSortedNode();
- cloneBaseData(copy);
-
- copy->pattern = this->pattern;
-
- return copy;
-}
-
-//
// EofNode
//