diff options
author | Aaron <aaron@10gen.com> | 2011-03-22 09:18:36 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-03-22 22:13:03 -0700 |
commit | 6021266abb19d3f1ff56465d0a7185699429b3c5 (patch) | |
tree | 6c4b7cc3fa3b9765151eeb4a3ed119193fbe6209 | |
parent | 0d5979c50b07075f608e8341f3629e786badc5ca (diff) | |
download | mongo-6021266abb19d3f1ff56465d0a7185699429b3c5.tar.gz |
SERVER-2809 update _nscanned with proper value, now that it may be returned
-rw-r--r-- | db/update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/update.cpp b/db/update.cpp index a7b0a2a7813..e79d3d517d1 100644 --- a/db/update.cpp +++ b/db/update.cpp @@ -920,7 +920,7 @@ namespace mongo { setComplete(); return; } - _nscanned++; + _nscanned = _c->nscanned(); if ( matcher()->matches(_c->currKey(), _c->currLoc(), &_details ) ) { setComplete(); return; |