diff options
author | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-03-05 09:49:29 -0500 |
---|---|---|
committer | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-03-05 12:23:39 -0500 |
commit | 74177edb35b6ce7594e4751051010ceade592484 (patch) | |
tree | 3dad385af5647a24291e8ab26ca3fdcf164e5dfd /src/mongo/db/commands/distinct.cpp | |
parent | 9a364b4c60a3f249947468a918071e3bf586dabc (diff) | |
download | mongo-74177edb35b6ce7594e4751051010ceade592484.tar.gz |
Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"
This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
Diffstat (limited to 'src/mongo/db/commands/distinct.cpp')
-rw-r--r-- | src/mongo/db/commands/distinct.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/commands/distinct.cpp b/src/mongo/db/commands/distinct.cpp index ae99b5a2332..eba4fdd51bc 100644 --- a/src/mongo/db/commands/distinct.cpp +++ b/src/mongo/db/commands/distinct.cpp @@ -110,11 +110,10 @@ public: } Status explain(OperationContext* opCtx, - const OpMsgRequest& request, + const std::string& dbname, + const BSONObj& cmdObj, ExplainOptions::Verbosity verbosity, BSONObjBuilder* out) const override { - std::string dbname = request.getDatabase().toString(); - const BSONObj& cmdObj = request.body; // Acquire locks and resolve possible UUID. The RAII object is optional, because in the case // of a view, the locks need to be released. boost::optional<AutoGetCollectionForReadCommand> ctx; |