summaryrefslogtreecommitdiff
path: root/src/mongo/util/ntservice_test.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-06-04 11:08:13 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-06-05 14:27:05 -0400
commit9ca367e8ef23be3f6e2a51f7d89411d8746fad56 (patch)
treecfbc988364a37d8e56413613bd40a97a8619add4 /src/mongo/util/ntservice_test.cpp
parentb377ac13c1df7108f6f01032d40f5d8818148b24 (diff)
downloadmongo-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.cpp3
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