summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/explain_cmd.cpp
diff options
context:
space:
mode:
authorKevin Pulo <kevin.pulo@mongodb.com>2019-11-26 03:23:07 +0000
committerevergreen <evergreen@mongodb.com>2019-11-26 03:23:07 +0000
commit8b0f534a706005d366e200ee56af5c76217656b2 (patch)
tree4ff0d0d1ea68d4f1a17ce39c4ab8087cfa617434 /src/mongo/db/commands/explain_cmd.cpp
parent34e093782f53dec39ff89116c0c7128430c99bae (diff)
downloadmongo-8b0f534a706005d366e200ee56af5c76217656b2.tar.gz
SERVER-44470 Parse aggregation commands earlier, and rationalize aggregation readConcern handling
Diffstat (limited to 'src/mongo/db/commands/explain_cmd.cpp')
-rw-r--r--src/mongo/db/commands/explain_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/explain_cmd.cpp b/src/mongo/db/commands/explain_cmd.cpp
index 78fa4d67217..2d3460d6a63 100644
--- a/src/mongo/db/commands/explain_cmd.cpp
+++ b/src/mongo/db/commands/explain_cmd.cpp
@@ -170,7 +170,7 @@ std::unique_ptr<CommandInvocation> CmdExplain::parse(OperationContext* opCtx,
explainedCommand);
auto innerRequest =
std::make_unique<OpMsgRequest>(OpMsgRequest::fromDBAndBody(dbname, explainedObj));
- auto innerInvocation = explainedCommand->parse(opCtx, *innerRequest);
+ auto innerInvocation = explainedCommand->parseForExplain(opCtx, *innerRequest, verbosity);
return std::make_unique<Invocation>(
this, request, std::move(verbosity), std::move(innerRequest), std::move(innerInvocation));
}