summaryrefslogtreecommitdiff
path: root/src/mongo/shell/clientAndShell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/clientAndShell.cpp')
-rw-r--r--src/mongo/shell/clientAndShell.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mongo/shell/clientAndShell.cpp b/src/mongo/shell/clientAndShell.cpp
index abbb03be656..f1ecde12eeb 100644
--- a/src/mongo/shell/clientAndShell.cpp
+++ b/src/mongo/shell/clientAndShell.cpp
@@ -47,29 +47,6 @@ class Client;
class DBClientBase;
class OperationContext;
-
-bool dbexitCalled = false;
-
-void dbexit(ExitCode returnCode, const char* whyMsg) {
- {
- stdx::lock_guard<stdx::mutex> lk(shell_utils::mongoProgramOutputMutex);
- dbexitCalled = true;
- }
-
- log() << "dbexit called" << endl;
-
- if (whyMsg) {
- log() << " b/c " << whyMsg << endl;
- }
-
- log() << "exiting" << endl;
- quickExit(returnCode);
-}
-
-bool inShutdown() {
- return dbexitCalled;
-}
-
bool haveLocalShardingInfo(OperationContext* txn, const string& ns) {
return false;
}