diff options
Diffstat (limited to 'src/mongo/db/cloner.cpp')
-rw-r--r-- | src/mongo/db/cloner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp index 519a1f6b9e8..bf6d55cb3be 100644 --- a/src/mongo/db/cloner.cpp +++ b/src/mongo/db/cloner.cpp @@ -111,7 +111,7 @@ namespace mongo { Collection* collection = NULL; if ( isindex == false ) { - collection = context.db()->getCollection( to_collection ); + collection = context.db()->getCollection( txn, to_collection ); if ( !collection ) { massert( 17321, str::stream() @@ -491,7 +491,7 @@ namespace mongo { bool old = inDBRepair; try { inDBRepair = true; - Collection* c = context.db()->getCollection( to_name ); + Collection* c = context.db()->getCollection( txn, to_name ); if ( c ) c->getIndexCatalog()->ensureHaveIdIndex(txn); inDBRepair = old; |