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/idhack.cpp | |
parent | 988703309558dca5a2a1a500d8e0c0dc8e8fc621 (diff) | |
download | mongo-2a4111960fee25453ed0974ee9eae95ec25bd556.tar.gz |
SERVER-17062 rename NEED_FETCH to NEED_YIELD
Diffstat (limited to 'src/mongo/db/exec/idhack.cpp')
-rw-r--r-- | src/mongo/db/exec/idhack.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp index 5fd7bf8b62d..8d1e9b0b92f 100644 --- a/src/mongo/db/exec/idhack.cpp +++ b/src/mongo/db/exec/idhack.cpp @@ -148,8 +148,8 @@ namespace mongo { _idBeingPagedIn = id; member->setFetcher(fetcher.release()); *out = id; - _commonStats.needFetch++; - return NEED_FETCH; + _commonStats.needYield++; + return NEED_YIELD; } // The doc was already in memory, so we go ahead and return it. @@ -170,8 +170,8 @@ namespace mongo { _workingSet->free(id); *out = WorkingSet::INVALID_ID; - _commonStats.needFetch++; - return NEED_FETCH; + _commonStats.needYield++; + return NEED_YIELD; } } |