diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index 72cd946e601..62e36d9238a 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -664,8 +664,8 @@ std::map<std::string, ApplyOpMetadata> opsMap = { return renameCollection(txn, NamespaceString(cmd.firstElement().valuestrsafe()), NamespaceString(cmd["to"].valuestrsafe()), - cmd["stayTemp"].trueValue(), - cmd["dropTarget"].trueValue()); + cmd["dropTarget"].trueValue(), + cmd["stayTemp"].trueValue()); }, {ErrorCodes::NamespaceNotFound, ErrorCodes::NamespaceExists}}}, {"applyOps", |