diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-07-16 18:43:56 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-07-17 13:10:04 -0400 |
commit | da468fdddfeff6d7a22fd72a0a38a79e19eb61a3 (patch) | |
tree | f36e0b7ec0f60b3f8d7bd54fc535ab9329c69e91 /src/mongo/client | |
parent | 957ef41666ef45076f779f36d6bef7ed8dd08405 (diff) | |
download | mongo-da468fdddfeff6d7a22fd72a0a38a79e19eb61a3.tar.gz |
Break a few more libraries off of "mongocommon".
Supports building all build products using _LIBDEPS=_LIBDEPS_OBJS instead of
a mix of _LIBDEPS_OBJS and _LIBDEPS_LIBS.
Necessitated in the short term by SERVER-6461, and in the long term by SERVER-5112.
Diffstat (limited to 'src/mongo/client')
-rw-r--r-- | src/mongo/client/clientAndShell.cpp | 7 | ||||
-rw-r--r-- | src/mongo/client/clientOnly.cpp | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/mongo/client/clientAndShell.cpp b/src/mongo/client/clientAndShell.cpp index 35800db31ef..b954644f5c7 100644 --- a/src/mongo/client/clientAndShell.cpp +++ b/src/mongo/client/clientAndShell.cpp @@ -16,6 +16,7 @@ */ #include "pch.h" +#include "mongo/util/assert_util.h" #include "../db/cmdline.h" #include "../db/client_common.h" #include "../s/shard.h" @@ -87,5 +88,11 @@ namespace mongo { return 0; } + string dynHostMyName() { return ""; } + + void dynHostResolve(string& name, int& port) { + fassertFailed(16398); + } + } diff --git a/src/mongo/client/clientOnly.cpp b/src/mongo/client/clientOnly.cpp index 9546333e1df..0c7ff01d0cb 100644 --- a/src/mongo/client/clientOnly.cpp +++ b/src/mongo/client/clientOnly.cpp @@ -20,12 +20,6 @@ namespace mongo { - string dynHostMyName() { return ""; } - - void dynHostResolve(string& name, int& port) { - verify(false); - } - StartupTest::StartupTest() {} StartupTest::~StartupTest() {} |