diff options
Diffstat (limited to 'src/mongo/db/exec/limit.cpp')
-rw-r--r-- | src/mongo/db/exec/limit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/limit.cpp b/src/mongo/db/exec/limit.cpp index a098206f8db..6aa83f083bc 100644 --- a/src/mongo/db/exec/limit.cpp +++ b/src/mongo/db/exec/limit.cpp @@ -83,8 +83,8 @@ namespace mongo { else if (PlanStage::NEED_TIME == status) { ++_commonStats.needTime; } - else if (PlanStage::NEED_FETCH == status) { - ++_commonStats.needFetch; + else if (PlanStage::NEED_YIELD == status) { + ++_commonStats.needYield; *out = id; } |