diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-04-02 15:48:57 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-04-03 15:13:55 -0400 |
commit | 789ad901737cfed9f383e467464c23943c94ecf4 (patch) | |
tree | abda24f89ace5793aad5212c1cfde9b57e4f2c9a /src/mongo/db/commands/list_databases.cpp | |
parent | 78aa03b4eda2784ae67eba32d6b103166f1c57ad (diff) | |
download | mongo-789ad901737cfed9f383e467464c23943c94ecf4.tar.gz |
SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.
Diffstat (limited to 'src/mongo/db/commands/list_databases.cpp')
-rw-r--r-- | src/mongo/db/commands/list_databases.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/list_databases.cpp b/src/mongo/db/commands/list_databases.cpp index 603f340bddc..e5997e36d2c 100644 --- a/src/mongo/db/commands/list_databases.cpp +++ b/src/mongo/db/commands/list_databases.cpp @@ -33,7 +33,7 @@ #include "mongo/db/catalog/database_holder.h" #include "mongo/db/client.h" #include "mongo/db/commands.h" -#include "mongo/db/global_environment_experiment.h" +#include "mongo/db/service_context.h" #include "mongo/db/storage/storage_engine.h" namespace mongo { @@ -78,7 +78,7 @@ namespace mongo { bool /*fromRepl*/) { vector< string > dbNames; - StorageEngine* storageEngine = getGlobalEnvironment()->getGlobalStorageEngine(); + StorageEngine* storageEngine = getGlobalServiceContext()->getGlobalStorageEngine(); storageEngine->listDatabases( &dbNames ); vector< BSONObj > dbInfos; |