summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/get_executor_test.cpp
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-07-31 13:32:15 -0400
committerIan Boros <ian.boros@10gen.com>2018-08-31 10:59:42 -0400
commit7b42fb9ded007e90bd4961c46afa046af92675a8 (patch)
treeab8158bdb18fb1145cb51f25036d935949ee4181 /src/mongo/db/query/get_executor_test.cpp
parentdc076ee0d1c4b9463084b51694957dc63f8ba593 (diff)
downloadmongo-7b42fb9ded007e90bd4961c46afa046af92675a8.tar.gz
SERVER-35333 caching plans for allPaths indexes
Diffstat (limited to 'src/mongo/db/query/get_executor_test.cpp')
-rw-r--r--src/mongo/db/query/get_executor_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/query/get_executor_test.cpp b/src/mongo/db/query/get_executor_test.cpp
index 002d4a427b3..0900af8f023 100644
--- a/src/mongo/db/query/get_executor_test.cpp
+++ b/src/mongo/db/query/get_executor_test.cpp
@@ -109,7 +109,8 @@ void testAllowedIndices(std::vector<IndexEntry> indexes,
filterAllowedIndexEntries(filter, &indexes);
size_t matchedIndexes = 0;
for (const auto& indexEntry : indexes) {
- ASSERT_TRUE(expectedFilteredNames.find(indexEntry.name) != expectedFilteredNames.end());
+ ASSERT_TRUE(expectedFilteredNames.find(indexEntry.identifier.catalogName) !=
+ expectedFilteredNames.end());
matchedIndexes++;
}
ASSERT_EQ(matchedIndexes, indexes.size());