diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-07-28 09:48:30 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-07-28 09:48:30 -0400 |
commit | cdcce7b8a9599d59c76c4255bd1aa62821b9b17d (patch) | |
tree | ca030e0756917017053d95c41ef058b999c40030 /src | |
parent | 18d159e139ce8651b8f7d3c99f94ebc31f84c135 (diff) | |
download | mongo-cdcce7b8a9599d59c76c4255bd1aa62821b9b17d.tar.gz |
SERVER-14378: clean up cloner changes for no system namespaces
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/cloner.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp index eefdd25cbb2..1c21a550830 100644 --- a/src/mongo/db/cloner.cpp +++ b/src/mongo/db/cloner.cpp @@ -299,7 +299,9 @@ namespace mongo { verify( collection ); } - Status status = collection->getIndexCatalog()->createIndex(txn, spec, mayBeInterrupted); + Status status = collection->getIndexCatalog()->createIndex(txn, + spec, + mayBeInterrupted); if ( status.code() == ErrorCodes::IndexAlreadyExists ) { // no-op } @@ -374,7 +376,7 @@ namespace mongo { // main data copy(txn, dbName, - NamespaceString(ns), NamespaceString(ns), + nss, nss, logForRepl, false, true, mayYield, mayBeInterrupted, Query(query).snapshot()); |