diff options
Diffstat (limited to 'src/mongo/db/commands/pipeline_command.cpp')
-rw-r--r-- | src/mongo/db/commands/pipeline_command.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/commands/pipeline_command.cpp b/src/mongo/db/commands/pipeline_command.cpp index a67620e6343..f94eec9d11d 100644 --- a/src/mongo/db/commands/pipeline_command.cpp +++ b/src/mongo/db/commands/pipeline_command.cpp @@ -180,8 +180,12 @@ namespace mongo { Pipeline::addRequiredPrivileges(this, dbname, cmdObj, out); } - virtual bool run(OperationContext* txn, const string &db, BSONObj &cmdObj, int options, - string &errmsg, BSONObjBuilder &result, bool fromRepl) { + virtual bool run(OperationContext* txn, + const string &db, + BSONObj &cmdObj, + int options, + string &errmsg, + BSONObjBuilder &result) { NamespaceString nss(parseNs(db, cmdObj)); if (nss.coll().empty()) { errmsg = "missing collection name"; |