diff options
Diffstat (limited to 'src/mongo/db/pdfile.cpp')
-rw-r--r-- | src/mongo/db/pdfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pdfile.cpp b/src/mongo/db/pdfile.cpp index 8624ab2ee42..182493e802a 100644 --- a/src/mongo/db/pdfile.cpp +++ b/src/mongo/db/pdfile.cpp @@ -111,7 +111,7 @@ namespace mongo { return Status( ErrorCodes::InvalidNamespace, str::stream() << "invalid ns: " << ns ); - Collection* collection = db->getCollection( ns ); + Collection* collection = db->getCollection( txn, ns ); if ( collection ) return Status( ErrorCodes::NamespaceExists, |