diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2019-11-26 03:23:07 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-26 03:23:07 +0000 |
commit | 8b0f534a706005d366e200ee56af5c76217656b2 (patch) | |
tree | 4ff0d0d1ea68d4f1a17ce39c4ab8087cfa617434 /src/mongo/db/commands/explain_cmd.cpp | |
parent | 34e093782f53dec39ff89116c0c7128430c99bae (diff) | |
download | mongo-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.cpp | 2 |
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)); } |