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/and_sorted.cpp | |
parent | 988703309558dca5a2a1a500d8e0c0dc8e8fc621 (diff) | |
download | mongo-2a4111960fee25453ed0974ee9eae95ec25bd556.tar.gz |
SERVER-17062 rename NEED_FETCH to NEED_YIELD
Diffstat (limited to 'src/mongo/db/exec/and_sorted.cpp')
-rw-r--r-- | src/mongo/db/exec/and_sorted.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/exec/and_sorted.cpp b/src/mongo/db/exec/and_sorted.cpp index 5641f52a048..e0e0a664806 100644 --- a/src/mongo/db/exec/and_sorted.cpp +++ b/src/mongo/db/exec/and_sorted.cpp @@ -143,8 +143,8 @@ namespace mongo { if (PlanStage::NEED_TIME == state) { ++_commonStats.needTime; } - else if (PlanStage::NEED_FETCH == state) { - ++_commonStats.needFetch; + else if (PlanStage::NEED_YIELD == state) { + ++_commonStats.needYield; *out = id; } @@ -262,8 +262,8 @@ namespace mongo { if (PlanStage::NEED_TIME == state) { ++_commonStats.needTime; } - else if (PlanStage::NEED_FETCH == state) { - ++_commonStats.needFetch; + else if (PlanStage::NEED_YIELD == state) { + ++_commonStats.needYield; *out = id; } |