summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context_noop.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2017-06-07 18:51:17 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2017-06-07 18:54:44 -0400
commit36351fdb8642bed4fd977e8234b6ff16cf5e7da2 (patch)
treedb8c3b4dffe7b6cec187c78d2bd04217b2b3a7cd /src/mongo/db/service_context_noop.cpp
parent4c3337abe512a37c8e4cb22e16eafcd04bc5bd3a (diff)
downloadmongo-36351fdb8642bed4fd977e8234b6ff16cf5e7da2.tar.gz
SERVER-29305 `dbdirectclient::call` uses OpContext
Presently it directly calls `assembleResponse`, which is responsible for a cyclic dependency. This functionality is available through the `ServiceContext` mechanism, and thus needn't directly use `assembleResponse`. The `ServiceEntryPoint` member of `ServiceContext` is set through a setter, which isn't always called, so we initialize the global entry through a factory function.
Diffstat (limited to 'src/mongo/db/service_context_noop.cpp')
-rw-r--r--src/mongo/db/service_context_noop.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/service_context_noop.cpp b/src/mongo/db/service_context_noop.cpp
index 42fd30f3f3c..993d7fccfeb 100644
--- a/src/mongo/db/service_context_noop.cpp
+++ b/src/mongo/db/service_context_noop.cpp
@@ -35,7 +35,6 @@
#include "mongo/stdx/memory.h"
namespace mongo {
-
StorageEngine* ServiceContextNoop::getGlobalStorageEngine() {
return NULL;
}