diff options
author | David Storch <david.storch@10gen.com> | 2015-02-13 17:14:16 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-02-16 20:46:18 -0500 |
commit | 2a4111960fee25453ed0974ee9eae95ec25bd556 (patch) | |
tree | a97d137c3c92f228bcdef2068c1511be359c0415 /src/mongo/db/exec/oplogstart.cpp | |
parent | 988703309558dca5a2a1a500d8e0c0dc8e8fc621 (diff) | |
download | mongo-2a4111960fee25453ed0974ee9eae95ec25bd556.tar.gz |
SERVER-17062 rename NEED_FETCH to NEED_YIELD
Diffstat (limited to 'src/mongo/db/exec/oplogstart.cpp')
-rw-r--r-- | src/mongo/db/exec/oplogstart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/oplogstart.cpp b/src/mongo/db/exec/oplogstart.cpp index c5fb5eb6066..7fe3257b5cf 100644 --- a/src/mongo/db/exec/oplogstart.cpp +++ b/src/mongo/db/exec/oplogstart.cpp @@ -81,7 +81,7 @@ namespace mongo { catch (const WriteConflictException& wce) { _subIterators.clear(); *out = WorkingSet::INVALID_ID; - return NEED_FETCH; + return NEED_YIELD; } } @@ -99,7 +99,7 @@ namespace mongo { const RecordId loc = _subIterators.back()->curr(); if (loc.isNull()) return PlanStage::NEED_TIME; - // TODO: should we ever try and return NEED_FETCH here? + // TODO: should we ever try and return NEED_YIELD here? const BSONObj obj = _subIterators.back()->dataFor(loc).releaseToBson(); if (!_filter->matchesBSON(obj)) { _done = true; |