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/apply_ops.cpp | |
parent | 78aa03b4eda2784ae67eba32d6b103166f1c57ad (diff) | |
download | mongo-789ad901737cfed9f383e467464c23943c94ecf4.tar.gz |
SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.
Diffstat (limited to 'src/mongo/db/commands/apply_ops.cpp')
-rw-r--r-- | src/mongo/db/commands/apply_ops.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/apply_ops.cpp b/src/mongo/db/commands/apply_ops.cpp index 2ab7f437c44..6551a5588fe 100644 --- a/src/mongo/db/commands/apply_ops.cpp +++ b/src/mongo/db/commands/apply_ops.cpp @@ -45,7 +45,7 @@ #include "mongo/db/db_raii.h" #include "mongo/db/concurrency/write_conflict_exception.h" #include "mongo/db/dbdirectclient.h" -#include "mongo/db/global_environment_experiment.h" +#include "mongo/db/service_context.h" #include "mongo/db/jsobj.h" #include "mongo/db/matcher/matcher.h" #include "mongo/db/operation_context_impl.h" @@ -224,7 +224,7 @@ namespace mongo { while (true) { try { WriteUnitOfWork wunit(txn); - getGlobalEnvironment()->getOpObserver()->onApplyOps(txn, + getGlobalServiceContext()->getOpObserver()->onApplyOps(txn, tempNS, cmdRewritten); wunit.commit(); |