diff options
Diffstat (limited to 'src/mongo/db/commands/validate.cpp')
-rw-r--r-- | src/mongo/db/commands/validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/validate.cpp b/src/mongo/db/commands/validate.cpp index 9b539a8b954..7e69e6315c4 100644 --- a/src/mongo/db/commands/validate.cpp +++ b/src/mongo/db/commands/validate.cpp @@ -83,7 +83,7 @@ namespace mongo { return false; } - Collection* collection = db->getCollection( ns ); + Collection* collection = db->getCollection( txn, ns ); if ( !collection ) { errmsg = "collection not found"; return false; |