summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2018-07-08 15:32:08 -0400
committerGeert Bosch <geert@mongodb.com>2018-07-11 16:54:14 -0400
commitc225e347b049a2aa8fc507d142056b396fe5bfb8 (patch)
tree4fe9aa0640fdf19afeb54cf0e6735eb5adb36389 /src/mongo/db/service_context.cpp
parentc9c340ad6e9e1f33cb001a8375c62d6b16138c74 (diff)
downloadmongo-c225e347b049a2aa8fc507d142056b396fe5bfb8.tar.gz
SERVER-36013 Remove isMMAPv1 predicates and resulting dead code
Diffstat (limited to 'src/mongo/db/service_context.cpp')
-rw-r--r--src/mongo/db/service_context.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/service_context.cpp b/src/mongo/db/service_context.cpp
index a3749d29ce0..bac2809f798 100644
--- a/src/mongo/db/service_context.cpp
+++ b/src/mongo/db/service_context.cpp
@@ -85,13 +85,6 @@ bool supportsDocLocking() {
return _supportsDocLocking;
}
-bool isMMAPV1() {
- StorageEngine* globalStorageEngine = getGlobalServiceContext()->getStorageEngine();
-
- invariant(globalStorageEngine);
- return globalStorageEngine->isMmapV1();
-}
-
ServiceContext::ServiceContext()
: _tickSource(stdx::make_unique<SystemTickSource>()),
_fastClockSource(stdx::make_unique<SystemClockSource>()),