0
0
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:
Eliot Horowitz 2010-03-12 15:58:21 -05:00
parent be63c9ca50
commit 43b2fab5cd

View File

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