diff options
Diffstat (limited to 'src/mongo/db/geo/haystack.cpp')
-rw-r--r-- | src/mongo/db/geo/haystack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp index ad8b06f00eb..42cae74d1e6 100644 --- a/src/mongo/db/geo/haystack.cpp +++ b/src/mongo/db/geo/haystack.cpp @@ -85,7 +85,7 @@ namespace mongo { } vector<IndexDescriptor*> idxs; - collection->getIndexCatalog()->findIndexByType(IndexNames::GEO_HAYSTACK, idxs); + collection->getIndexCatalog()->findIndexByType(txn, IndexNames::GEO_HAYSTACK, idxs); if (idxs.size() == 0) { errmsg = "no geoSearch index"; return false; |