0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

Update nscanned for profiling

This commit is contained in:
Aaron 2009-03-23 17:04:32 -04:00
parent bc5da3a496
commit 8ca46fb7c5

View File

@ -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();