diff options
author | David Storch <david.storch@10gen.com> | 2017-12-06 12:28:16 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2017-12-13 16:01:07 -0500 |
commit | 1e0d2b2e113df9e56af430f5ff09bac224cf05f0 (patch) | |
tree | 8d96bbb45a8e8d21408e911038a78728816eb30c /src/mongo/db/exec/subplan.h | |
parent | 06c1da7fa0d99fe643674fa7d5b0533b7d364791 (diff) | |
download | mongo-1e0d2b2e113df9e56af430f5ff09bac224cf05f0.tar.gz |
SERVER-32189 Delete dead SubplanStage handling for contained $or queries.
Diffstat (limited to 'src/mongo/db/exec/subplan.h')
-rw-r--r-- | src/mongo/db/exec/subplan.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/exec/subplan.h b/src/mongo/db/exec/subplan.h index 315e79b93ca..c61fb3201d4 100644 --- a/src/mongo/db/exec/subplan.h +++ b/src/mongo/db/exec/subplan.h @@ -107,19 +107,6 @@ public: */ Status pickBestPlan(PlanYieldPolicy* yieldPolicy); - /** - * Takes a match expression, 'root', which has a single "contained OR". This means that - * 'root' is an AND with exactly one OR child. - * - * Returns a logically equivalent query after rewriting so that the contained OR is at the - * root of the expression tree. - * - * Used internally so that the subplanner can be used for contained OR type queries, but - * exposed for testing. - */ - static std::unique_ptr<MatchExpression> rewriteToRootedOr( - std::unique_ptr<MatchExpression> root); - // // For testing. // |