summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rs_config.cpp')
-rw-r--r--src/mongo/db/repl/rs_config.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/repl/rs_config.cpp b/src/mongo/db/repl/rs_config.cpp
index 0e29c52e323..da705f14659 100644
--- a/src/mongo/db/repl/rs_config.cpp
+++ b/src/mongo/db/repl/rs_config.cpp
@@ -28,8 +28,6 @@
* it in the license file.
*/
-#include "mongo/pch.h"
-
#include <boost/algorithm/string.hpp>
#include "mongo/db/dbhelpers.h"
@@ -82,8 +80,8 @@ namespace repl {
log() << "replSet info saving a newer config version to local.system.replset: "
<< newConfigBSON << rsLog;
{
- Client::WriteContext cx( rsConfigNs );
OperationContextImpl txn;
+ Client::WriteContext cx(&txn, rsConfigNs);
//theReplSet->lastOpTimeWritten = ??;
//rather than above, do a logOp()? probably