summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-11-26 18:43:04 -0500
committerAndrew Morrow <acm@mongodb.com>2018-11-27 12:55:48 -0500
commit99ec5dabaf1286a5440da0bb561e32d3aa79466a (patch)
treef44786335721303ed167fc7d8e7d72a3f1ea16ca /src/mongo/db/commands
parentbac586e913dae042f6c2957522ac319e55946df9 (diff)
downloadmongo-99ec5dabaf1286a5440da0bb561e32d3aa79466a.tar.gz
SERVER-30815 Remove the mongodmain library
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/SConscript4
-rw-r--r--src/mongo/db/commands/clone_collection.cpp1
-rw-r--r--src/mongo/db/commands/fsync.cpp1
-rw-r--r--src/mongo/db/commands/mr.cpp1
4 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript
index a052f431093..da130e2ee00 100644
--- a/src/mongo/db/commands/SConscript
+++ b/src/mongo/db/commands/SConscript
@@ -494,7 +494,7 @@ if has_option('use-cpu-profiler'):
'$BUILD_DIR/mongo/db/commands',
'$BUILD_DIR/mongo/db/db_raii',
],
- LIBDEPS_DEPENDENTS=[
- '$BUILD_DIR/mongo/mongodmain',
+ PROGDEPS_DEPENDENTS=[
+ '$BUILD_DIR/mongo/mongod',
],
)
diff --git a/src/mongo/db/commands/clone_collection.cpp b/src/mongo/db/commands/clone_collection.cpp
index a8112395099..3dc087ae97f 100644
--- a/src/mongo/db/commands/clone_collection.cpp
+++ b/src/mongo/db/commands/clone_collection.cpp
@@ -44,7 +44,6 @@
#include "mongo/db/cloner.h"
#include "mongo/db/commands.h"
#include "mongo/db/commands/rename_collection.h"
-#include "mongo/db/db.h"
#include "mongo/db/index_builder.h"
#include "mongo/db/jsobj.h"
#include "mongo/db/namespace_string.h"
diff --git a/src/mongo/db/commands/fsync.cpp b/src/mongo/db/commands/fsync.cpp
index 51ad036348c..88b0bec4635 100644
--- a/src/mongo/db/commands/fsync.cpp
+++ b/src/mongo/db/commands/fsync.cpp
@@ -47,7 +47,6 @@
#include "mongo/db/commands/fsync_locked.h"
#include "mongo/db/concurrency/d_concurrency.h"
#include "mongo/db/concurrency/write_conflict_exception.h"
-#include "mongo/db/db.h"
#include "mongo/db/service_context.h"
#include "mongo/db/storage/backup_cursor_hooks.h"
#include "mongo/db/storage/storage_engine.h"
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp
index a3a94166619..0c3110cb97b 100644
--- a/src/mongo/db/commands/mr.cpp
+++ b/src/mongo/db/commands/mr.cpp
@@ -49,7 +49,6 @@
#include "mongo/db/clientcursor.h"
#include "mongo/db/commands.h"
#include "mongo/db/concurrency/write_conflict_exception.h"
-#include "mongo/db/db.h"
#include "mongo/db/db_raii.h"
#include "mongo/db/dbhelpers.h"
#include "mongo/db/exec/working_set_common.h"