summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/wildcard_access_method.cpp
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2021-05-13 17:53:18 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-13 23:46:50 +0000
commit72ed8227aa029afd554aa5809d36529ac145c3e8 (patch)
tree9e9e3bdfec2e0bc11aab5b933bc6d35faacaf817 /src/mongo/db/index/wildcard_access_method.cpp
parent9c33afdc8a9e78537bc695b07c1bf6af2e56b3a2 (diff)
downloadmongo-72ed8227aa029afd554aa5809d36529ac145c3e8.tar.gz
SERVER-56233 Support wildcard multikey paths on clustered collections
Diffstat (limited to 'src/mongo/db/index/wildcard_access_method.cpp')
-rw-r--r--src/mongo/db/index/wildcard_access_method.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/index/wildcard_access_method.cpp b/src/mongo/db/index/wildcard_access_method.cpp
index 6c09e7bf488..a2b2cb5bd0f 100644
--- a/src/mongo/db/index/wildcard_access_method.cpp
+++ b/src/mongo/db/index/wildcard_access_method.cpp
@@ -44,7 +44,8 @@ WildcardAccessMethod::WildcardAccessMethod(IndexCatalogEntry* wildcardState,
_descriptor->pathProjection(),
_indexCatalogEntry->getCollator(),
getSortedDataInterface()->getKeyStringVersion(),
- getSortedDataInterface()->getOrdering()) {
+ getSortedDataInterface()->getOrdering(),
+ getSortedDataInterface()->rsKeyFormat()) {
// Normalize the 'wildcardProjection' index option to facilitate its comparison as part of
// index signature.
if (!_descriptor->pathProjection().isEmpty()) {