diff options
-rw-r--r-- | db/dbhelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbhelpers.cpp b/db/dbhelpers.cpp index 3079aade5e8..5e49589e2bb 100644 --- a/db/dbhelpers.cpp +++ b/db/dbhelpers.cpp @@ -269,7 +269,7 @@ namespace mongo { getDur().commitIfNeeded(); - if ( yield && ! cc->yieldSometimes() ) { + if ( yield && ! cc->yield() ) { // cursor got finished by someone else, so we're done cc.release(); // if the collection/db is dropped, cc may be deleted break; |