diff options
Diffstat (limited to 'src/mongo/db/commands/get_last_error.cpp')
-rw-r--r-- | src/mongo/db/commands/get_last_error.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/commands/get_last_error.cpp b/src/mongo/db/commands/get_last_error.cpp index e153de58188..7196c363ec3 100644 --- a/src/mongo/db/commands/get_last_error.cpp +++ b/src/mongo/db/commands/get_last_error.cpp @@ -72,7 +72,7 @@ public: CmdResetError() : Command("resetError", "reseterror") {} bool run(OperationContext* opCtx, const string& db, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { LastError::get(opCtx->getClient()).reset(); @@ -105,7 +105,7 @@ public: bool run(OperationContext* opCtx, const string& dbname, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { // @@ -313,7 +313,7 @@ public: CmdGetPrevError() : Command("getPrevError", "getpreverror") {} bool run(OperationContext* opCtx, const string& dbname, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { LastError* le = &LastError::get(opCtx->getClient()); |