summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer.cpp')
-rw-r--r--src/mongo/db/op_observer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer.cpp b/src/mongo/db/op_observer.cpp
index 25bf9866c7f..5910edd37bf 100644
--- a/src/mongo/db/op_observer.cpp
+++ b/src/mongo/db/op_observer.cpp
@@ -216,7 +216,9 @@ void OpObserver::onRenameCollection(OperationContext* txn,
std::string dbName = fromCollection.db().toString() + ".$cmd";
BSONObj cmdObj =
BSON("renameCollection" << fromCollection.ns() << "to" << toCollection.ns() << "stayTemp"
- << stayTemp << "dropTarget" << dropTarget);
+ << stayTemp
+ << "dropTarget"
+ << dropTarget);
repl::logOp(txn, "c", dbName.c_str(), cmdObj, nullptr, false);