diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-06-23 10:45:48 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-07-13 16:53:12 -0400 |
commit | 8d555140ce24b9f59e4672a0ed026502fdfffd2c (patch) | |
tree | 0ad245d9c2cfb93a80c4978a475cd1a78e35d52e /src/mongo/db/exec | |
parent | b6abff538f84abecae2bd7137173a37a8626ac14 (diff) | |
download | mongo-8d555140ce24b9f59e4672a0ed026502fdfffd2c.tar.gz |
SERVER-29731 get errmsg out of BasicCommand api
It is now only used by commands deriving from ErrmsgCommandDeprecated.
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/stagedebug_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/exec/stagedebug_cmd.cpp b/src/mongo/db/exec/stagedebug_cmd.cpp index 256dcba59fb..c92408bcbf6 100644 --- a/src/mongo/db/exec/stagedebug_cmd.cpp +++ b/src/mongo/db/exec/stagedebug_cmd.cpp @@ -140,7 +140,6 @@ public: bool run(OperationContext* opCtx, const string& dbname, const BSONObj& cmdObj, - string& errmsg, BSONObjBuilder& result) { BSONElement argElt = cmdObj["stageDebug"]; if (argElt.eoo() || !argElt.isABSONObj()) { @@ -479,7 +478,6 @@ public: // that can only be checked for equality. We ignore this now. Status s = fam->getSpec().getIndexPrefix(BSONObj(), ¶ms.indexPrefix); if (!s.isOK()) { - // errmsg = s.toString(); return NULL; } |