diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-01-24 10:11:33 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-02-17 09:57:19 -0500 |
commit | f77527a942347313e2848e050e89480bc3cadb95 (patch) | |
tree | 2f0ec380db30e51d1120a0c0cbb7e4fcfa39f8ed /src/mongo/db/exec/subplan.cpp | |
parent | 9c8c662a9213b16ae206f495c875594f5f0454f0 (diff) | |
download | mongo-f77527a942347313e2848e050e89480bc3cadb95.tar.gz |
SERVER-13732 Index access plan for contained OR should consider top-level predicates
Diffstat (limited to 'src/mongo/db/exec/subplan.cpp')
-rw-r--r-- | src/mongo/db/exec/subplan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/subplan.cpp b/src/mongo/db/exec/subplan.cpp index d7cbaed6db2..3c7122f3fe1 100644 --- a/src/mongo/db/exec/subplan.cpp +++ b/src/mongo/db/exec/subplan.cpp @@ -388,7 +388,7 @@ Status SubplanStage::choosePlanForSubqueries(PlanYieldPolicy* yieldPolicy) { } // Must do this before using the planner functionality. - sortUsingTags(_orExpression.get()); + prepareForAccessPlanning(_orExpression.get()); // Use the cached index assignments to build solnRoot. Takes ownership of '_orExpression'. QuerySolutionNode* solnRoot = QueryPlannerAccess::buildIndexedDataAccess( |