diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-11-16 17:55:00 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-11-16 18:04:26 -0500 |
commit | b819bae9ac9b9b78bec63baa6dfea37398bc39c8 (patch) | |
tree | 43ea1c13427bddebdbe5e1bccf3373c35010591b /src/mongo/s | |
parent | 6c5d292463c0230104a4ca14716d8e82ebbcc2aa (diff) | |
download | mongo-b819bae9ac9b9b78bec63baa6dfea37398bc39c8.tar.gz |
SERVER-18058 Rename hidden variable name
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/commands/run_on_all_shards_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/run_on_all_shards_cmd.cpp b/src/mongo/s/commands/run_on_all_shards_cmd.cpp index 157c556d65a..c3ff1fd633c 100644 --- a/src/mongo/s/commands/run_on_all_shards_cmd.cpp +++ b/src/mongo/s/commands/run_on_all_shards_cmd.cpp @@ -122,8 +122,8 @@ bool RunOnAllShardsCommand::run(OperationContext* txn, if (result["errmsg"].type() || result["code"].numberInt() != 0) { result = specialErrorHandler(res->getServer(), dbName, cmdObj, result); - BSONElement errmsg = result["errmsg"]; - if (errmsg.eoo() || errmsg.String().empty()) { + BSONElement errmsgObj = result["errmsg"]; + if (errmsgObj.eoo() || errmsgObj.String().empty()) { // it was fixed! results.emplace_back(*shardIdsIt, result); subobj.append(res->getServer(), result); |