summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp2
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;