diff options
Diffstat (limited to 'src/mongo/db/index/btree_access_method.cpp')
-rw-r--r-- | src/mongo/db/index/btree_access_method.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/index/btree_access_method.cpp b/src/mongo/db/index/btree_access_method.cpp index 6bc97956fe8..40c4bc77251 100644 --- a/src/mongo/db/index/btree_access_method.cpp +++ b/src/mongo/db/index/btree_access_method.cpp @@ -62,7 +62,11 @@ BtreeAccessMethod::BtreeAccessMethod(IndexCatalogEntry* btreeState, SortedDataIn } void BtreeAccessMethod::getKeys(const BSONObj& obj, BSONObjSet* keys) const { - _keyGenerator->getKeys(obj, keys); + // SERVER-22726 represents the work to gather and persist the path-level multikey information. + // Until that's done, we may as well avoid computing the prefixes of the indexed fields that + // cause the index to be multikey. + MultikeyPaths* multikeyPaths = nullptr; + _keyGenerator->getKeys(obj, keys, multikeyPaths); } } // namespace mongo |