diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-06-04 11:08:13 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-06-05 14:27:05 -0400 |
commit | 9ca367e8ef23be3f6e2a51f7d89411d8746fad56 (patch) | |
tree | cfbc988364a37d8e56413613bd40a97a8619add4 /src/mongo/util/ntservice_test.cpp | |
parent | b377ac13c1df7108f6f01032d40f5d8818148b24 (diff) | |
download | mongo-9ca367e8ef23be3f6e2a51f7d89411d8746fad56.tar.gz |
SERVER-14079: Add signal handlers to shell
The shell currently lacks the signal handlers that mongod/mongos
have making it tough to investigate issues.
This change does the following
1. Add signal handlers to shell & tools.
2. Add invalid_parameter handler for Windows
3. Add better logging for pure call handler on Windows
4. Take dumps on terminate handler on Windows
5. Change shell to use common signal handlers
6. Remove some random dead code / commented lines.
Diffstat (limited to 'src/mongo/util/ntservice_test.cpp')
-rw-r--r-- | src/mongo/util/ntservice_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/util/ntservice_test.cpp b/src/mongo/util/ntservice_test.cpp index cb55d6da624..5aee2e9c711 100644 --- a/src/mongo/util/ntservice_test.cpp +++ b/src/mongo/util/ntservice_test.cpp @@ -116,7 +116,6 @@ TEST(NtService, RegressionSERVER_7252) { namespace mongo { enum ExitCode; void exitCleanly(ExitCode ignored) { std::abort(); } - Client& Client::initThread(const char* desc, AbstractMessagingPort* mp) { - std::abort(); return *reinterpret_cast<Client*>(NULL); + void Client::initThread(const char* desc, AbstractMessagingPort* mp) { } } // namespace mongo |