diff options
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r-- | src/mongo/db/ttl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index c497c8ed7e4..cb861e48ec5 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -117,7 +117,7 @@ namespace mongo { OperationContextImpl txn; Client::WriteContext ctx(&txn, ns ); - Collection* collection = ctx.ctx().db()->getCollection( ns ); + Collection* collection = ctx.ctx().db()->getCollection( &txn, ns ); if ( !collection ) { // collection was dropped continue; |