diff options
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r-- | src/mongo/shell/shell_utils.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp index e44832d9e35..7f8521c6058 100644 --- a/src/mongo/shell/shell_utils.cpp +++ b/src/mongo/shell/shell_utils.cpp @@ -78,7 +78,6 @@ MONGO_REGISTER_SHIM(BenchRunConfig::createConnectionImpl) namespace shell_utils { std::string _dbConnect; -std::string _dbAuth; const char* argv0 = 0; void RecordMyLocation(const char* _argv0) { @@ -349,9 +348,6 @@ void initScope(Scope& scope) { if (!_dbConnect.empty()) { uassert(12513, "connect failed", scope.exec(_dbConnect, "(connect)", false, true, false)); } - if (!_dbAuth.empty()) { - uassert(12514, "login failed", scope.exec(_dbAuth, "(auth)", true, true, false)); - } } Prompter::Prompter(const string& prompt) : _prompt(prompt), _confirmed() {} |