From 5e4f3fef24ca76b6a6516e7379b72ae3310029fd Mon Sep 17 00:00:00 2001 From: David Storch Date: Tue, 22 Jul 2014 15:50:23 -0400 Subject: SERVER-14407 delete runner.h Replaces Runner::RunnerState with PlanExecutor::ExecState. --- src/mongo/db/catalog/index_catalog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/catalog/index_catalog.cpp') diff --git a/src/mongo/db/catalog/index_catalog.cpp b/src/mongo/db/catalog/index_catalog.cpp index edb6219f607..a0587ef0c9d 100644 --- a/src/mongo/db/catalog/index_catalog.cpp +++ b/src/mongo/db/catalog/index_catalog.cpp @@ -227,8 +227,8 @@ namespace mongo { db->getCollection(txn, db->_indexesName))); BSONObj index; - Runner::RunnerState state; - while ( Runner::RUNNER_ADVANCED == (state = exec->getNext(&index, NULL)) ) { + PlanExecutor::ExecState state; + while ( PlanExecutor::ADVANCED == (state = exec->getNext(&index, NULL)) ) { const BSONObj key = index.getObjectField("key"); const string plugin = IndexNames::findPluginName(key); if ( IndexNames::existedBefore24(plugin) ) @@ -243,7 +243,7 @@ namespace mongo { return Status( ErrorCodes::CannotCreateIndex, errmsg ); } - if ( Runner::RUNNER_EOF != state ) { + if ( PlanExecutor::IS_EOF != state ) { warning() << "Internal error while reading system.indexes collection"; } -- cgit v1.2.1