summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-03-23 17:28:27 -0400
committerEliot Horowitz <eliot@10gen.com>2009-03-23 17:28:27 -0400
commitcd7831f6c436bc5369ee364162f4d0d3b9dbb208 (patch)
tree112cd974d5897c66f2ccf4f294eba3ea4283ad81
parent648633218d5cde9cceba0bdd27042481c9038d5a (diff)
parentea44d9886c354ae8bce9d24a5b5e6d948b3b7992 (diff)
downloadmongo-cd7831f6c436bc5369ee364162f4d0d3b9dbb208.tar.gz
Merge branch 'master' of git@github.com:mongodb/mongo
-rw-r--r--db/query.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/query.cpp b/db/query.cpp
index 5ec47125b6e..99d3f2a18c2 100644
--- a/db/query.cpp
+++ b/db/query.cpp
@@ -1016,6 +1016,7 @@ namespace mongo {
DoQueryOp &dqo = *o;
massert( dqo.exceptionMessage(), dqo.complete() );
n = dqo.n();
+ nscanned = dqo.nscanned();
if ( dqo.scanAndOrderRequired() )
ss << " scanAndOrder ";
auto_ptr< Cursor > c = dqo.cursor();