mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
fix explain for _id lookup SERVER-468
This commit is contained in:
parent
be63c9ca50
commit
43b2fab5cd
@ -720,7 +720,7 @@ namespace mongo {
|
||||
}
|
||||
|
||||
|
||||
if ( isSimpleIdQuery( query ) && !pq.hasOption( QueryOption_CursorTailable ) ) {
|
||||
if ( ! explain && isSimpleIdQuery( query ) && !pq.hasOption( QueryOption_CursorTailable ) ) {
|
||||
nscanned = 1;
|
||||
|
||||
bool nsFound = false;
|
||||
|
Loading…
Reference in New Issue
Block a user