summaryrefslogtreecommitdiff
path: root/src/mongo/client/clientAndShell.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-07-16 18:43:56 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-07-17 13:10:04 -0400
commitda468fdddfeff6d7a22fd72a0a38a79e19eb61a3 (patch)
treef36e0b7ec0f60b3f8d7bd54fc535ab9329c69e91 /src/mongo/client/clientAndShell.cpp
parent957ef41666ef45076f779f36d6bef7ed8dd08405 (diff)
downloadmongo-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/clientAndShell.cpp')
-rw-r--r--src/mongo/client/clientAndShell.cpp7
1 files changed, 7 insertions, 0 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);
+ }
+
}