summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-10-01 10:42:32 -0400
committerDavid Storch <david.storch@10gen.com>2014-10-02 10:54:37 -0400
commit95c3ccb36529db9841abd3a7e876ea66aac69420 (patch)
tree6aeb6ca5a332d57004fa25b1cfc3af98189a0f84 /src/mongo/s/commands/cluster_find_cmd.cpp
parenta73db159bd39f65e47d405da20da0677696c300b (diff)
downloadmongo-95c3ccb36529db9841abd3a7e876ea66aac69420.tar.gz
SERVER-10448 explained operations should not use the plan cache
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.cpp b/src/mongo/s/commands/cluster_find_cmd.cpp
index 5a4f8df9df1..ca82e17ce3a 100644
--- a/src/mongo/s/commands/cluster_find_cmd.cpp
+++ b/src/mongo/s/commands/cluster_find_cmd.cpp
@@ -61,7 +61,8 @@ namespace mongo {
// Parse the command BSON to a LiteParsedQuery.
LiteParsedQuery* rawLpq;
- Status lpqStatus = LiteParsedQuery::make(fullns, cmdObj, &rawLpq);
+ bool isExplain = true;
+ Status lpqStatus = LiteParsedQuery::make(fullns, cmdObj, isExplain, &rawLpq);
if (!lpqStatus.isOK()) {
return lpqStatus;
}