mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +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;
|
nscanned = 1;
|
||||||
|
|
||||||
bool nsFound = false;
|
bool nsFound = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user