diff options
author | David Storch <david.storch@10gen.com> | 2014-07-22 15:50:23 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2014-07-23 12:40:20 -0400 |
commit | 5e4f3fef24ca76b6a6516e7379b72ae3310029fd (patch) | |
tree | 52ef6dddd9ffd1eb4d832d4b224a70caefd5c220 /src/mongo/dbtests/query_stage_collscan.cpp | |
parent | 26aff1dcc9a45e72a91a206119c12cc280148175 (diff) | |
download | mongo-5e4f3fef24ca76b6a6516e7379b72ae3310029fd.tar.gz |
SERVER-14407 delete runner.h
Replaces Runner::RunnerState with PlanExecutor::ExecState.
Diffstat (limited to 'src/mongo/dbtests/query_stage_collscan.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_collscan.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/query_stage_collscan.cpp b/src/mongo/dbtests/query_stage_collscan.cpp index 797d0af3d28..4eecd3eacf3 100644 --- a/src/mongo/dbtests/query_stage_collscan.cpp +++ b/src/mongo/dbtests/query_stage_collscan.cpp @@ -98,7 +98,7 @@ namespace QueryStageCollectionScan { // Use the runner to count the number of objects scanned. int count = 0; - for (BSONObj obj; Runner::RUNNER_ADVANCED == runner.getNext(&obj, NULL); ) { ++count; } + for (BSONObj obj; PlanExecutor::ADVANCED == runner.getNext(&obj, NULL); ) { ++count; } return count; } @@ -202,7 +202,7 @@ namespace QueryStageCollectionScan { PlanExecutor runner(ws, ps, params.collection); int count = 0; - for (BSONObj obj; Runner::RUNNER_ADVANCED == runner.getNext(&obj, NULL); ) { + for (BSONObj obj; PlanExecutor::ADVANCED == runner.getNext(&obj, NULL); ) { // Make sure we get the objects in the order we want ASSERT_EQUALS(count, obj["foo"].numberInt()); ++count; @@ -231,7 +231,7 @@ namespace QueryStageCollectionScan { PlanExecutor runner(ws, ps, params.collection); int count = 0; - for (BSONObj obj; Runner::RUNNER_ADVANCED == runner.getNext(&obj, NULL); ) { + for (BSONObj obj; PlanExecutor::ADVANCED == runner.getNext(&obj, NULL); ) { ++count; ASSERT_EQUALS(numObj() - count, obj["foo"].numberInt()); } |