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/db/commands/collection_to_capped.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/db/commands/collection_to_capped.cpp')
-rw-r--r-- | src/mongo/db/commands/collection_to_capped.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/commands/collection_to_capped.cpp b/src/mongo/db/commands/collection_to_capped.cpp index aaa1674a40a..969326141db 100644 --- a/src/mongo/db/commands/collection_to_capped.cpp +++ b/src/mongo/db/commands/collection_to_capped.cpp @@ -91,17 +91,17 @@ namespace mongo { while ( true ) { BSONObj obj; - Runner::RunnerState state = exec->getNext(&obj, NULL); + PlanExecutor::ExecState state = exec->getNext(&obj, NULL); switch( state ) { - case Runner::RUNNER_EOF: + case PlanExecutor::IS_EOF: return Status::OK(); - case Runner::RUNNER_DEAD: + case PlanExecutor::DEAD: db->dropCollection( txn, toNs ); return Status( ErrorCodes::InternalError, "executor turned dead while iterating" ); - case Runner::RUNNER_ERROR: + case PlanExecutor::EXEC_ERROR: return Status( ErrorCodes::InternalError, "executor error while iterating" ); - case Runner::RUNNER_ADVANCED: + case PlanExecutor::ADVANCED: if ( excessSize > 0 ) { excessSize -= ( 4 * obj.objsize() ); // 4x is for padding, power of 2, etc... continue; |