diff options
Diffstat (limited to 'src/mongo/db/commands/geonear.cpp')
-rw-r--r-- | src/mongo/db/commands/geonear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/geonear.cpp b/src/mongo/db/commands/geonear.cpp index ebbdd6efd69..42a956bf862 100644 --- a/src/mongo/db/commands/geonear.cpp +++ b/src/mongo/db/commands/geonear.cpp @@ -84,7 +84,7 @@ namespace mongo { return false; } - Collection* collection = db->getCollection( ns ); + Collection* collection = db->getCollection( txn, ns ); if ( !collection ) { errmsg = "can't find ns"; return false; |