summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_multiplan.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2018-11-08 16:23:40 -0500
committerDavid Storch <david.storch@10gen.com>2018-11-27 13:33:54 -0500
commita0f64a185b60422fe15b67a406c7b8e04c191937 (patch)
tree4284490a2d3be19a40c447e2299dac4e0101c4a7 /src/mongo/dbtests/query_stage_multiplan.cpp
parent99ec5dabaf1286a5440da0bb561e32d3aa79466a (diff)
downloadmongo-a0f64a185b60422fe15b67a406c7b8e04c191937.tar.gz
SERVER-37447 Introduce RequiresIndexStage and use for IXSCAN.
Diffstat (limited to 'src/mongo/dbtests/query_stage_multiplan.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_multiplan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_multiplan.cpp b/src/mongo/dbtests/query_stage_multiplan.cpp
index d4cdeb8048f..650036fc692 100644
--- a/src/mongo/dbtests/query_stage_multiplan.cpp
+++ b/src/mongo/dbtests/query_stage_multiplan.cpp
@@ -141,7 +141,7 @@ unique_ptr<PlanStage> getIxScanPlan(OperationContext* opCtx,
coll->getIndexCatalog()->findIndexesByKeyPattern(opCtx, BSON("foo" << 1), false, &indexes);
ASSERT_EQ(indexes.size(), 1U);
- IndexScanParams ixparams(opCtx, *indexes[0]);
+ IndexScanParams ixparams(opCtx, indexes[0]);
ixparams.bounds.isSimpleRange = true;
ixparams.bounds.startKey = BSON("" << desiredFooValue);
ixparams.bounds.endKey = BSON("" << desiredFooValue);