diff options
Diffstat (limited to 'src/mongo/db/commands/test_commands.cpp')
-rw-r--r-- | src/mongo/db/commands/test_commands.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/test_commands.cpp b/src/mongo/db/commands/test_commands.cpp index 10016c71f0f..17cba2ee54a 100644 --- a/src/mongo/db/commands/test_commands.cpp +++ b/src/mongo/db/commands/test_commands.cpp @@ -77,7 +77,7 @@ public: } virtual bool run(OperationContext* opCtx, const string& dbname, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { const NamespaceString nss(parseNsCollectionRequired(dbname, cmdObj)); @@ -151,7 +151,7 @@ public: CmdSleep() : Command("sleep") {} bool run(OperationContext* opCtx, const string& ns, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { log() << "test only command sleep invoked"; @@ -214,7 +214,7 @@ public: std::vector<Privilege>* out) {} virtual bool run(OperationContext* opCtx, const string& dbname, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { const NamespaceString fullNs = parseNsCollectionRequired(dbname, cmdObj); @@ -291,7 +291,7 @@ public: virtual bool run(OperationContext* opCtx, const string& dbname, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { const NamespaceString nss = parseNsCollectionRequired(dbname, cmdObj); |