mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
Update nscanned for profiling
This commit is contained in:
parent
bc5da3a496
commit
8ca46fb7c5
@ -1016,6 +1016,7 @@ namespace mongo {
|
|||||||
DoQueryOp &dqo = *o;
|
DoQueryOp &dqo = *o;
|
||||||
massert( dqo.exceptionMessage(), dqo.complete() );
|
massert( dqo.exceptionMessage(), dqo.complete() );
|
||||||
n = dqo.n();
|
n = dqo.n();
|
||||||
|
nscanned = dqo.nscanned();
|
||||||
if ( dqo.scanAndOrderRequired() )
|
if ( dqo.scanAndOrderRequired() )
|
||||||
ss << " scanAndOrder ";
|
ss << " scanAndOrder ";
|
||||||
auto_ptr< Cursor > c = dqo.cursor();
|
auto_ptr< Cursor > c = dqo.cursor();
|
||||||
|
Loading…
Reference in New Issue
Block a user