summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_cache_test.cpp
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2020-10-29 18:07:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-04 16:47:25 +0000
commitb9630a4621e919837749c5010f3c8e3429a944a9 (patch)
treeb9a73bacf2e96c6207caa05204bc01154efa40c1 /src/mongo/db/query/plan_cache_test.cpp
parent4666dc59f9aa93e4927bf9835b4bd038488d98f9 (diff)
downloadmongo-b9630a4621e919837749c5010f3c8e3429a944a9.tar.gz
SERVER-50728 Use QuerySolution to generate explain output at queryPlanner verbosity in SBE
Diffstat (limited to 'src/mongo/db/query/plan_cache_test.cpp')
-rw-r--r--src/mongo/db/query/plan_cache_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/query/plan_cache_test.cpp b/src/mongo/db/query/plan_cache_test.cpp
index 1535f24f10b..57f673301fc 100644
--- a/src/mongo/db/query/plan_cache_test.cpp
+++ b/src/mongo/db/query/plan_cache_test.cpp
@@ -248,6 +248,7 @@ std::pair<IndexEntry, std::unique_ptr<WildcardProjection>> makeWildcardEntry(BSO
WildcardKeyGenerator::createProjectionExecutor(keyPattern, {}));
return {IndexEntry(keyPattern,
IndexNames::nameToType(IndexNames::findPluginName(keyPattern)),
+ IndexDescriptor::kLatestIndexVersion,
false, // multikey
{},
{},
@@ -903,6 +904,7 @@ protected:
params.indices.push_back(
IndexEntry(keyPattern,
IndexNames::nameToType(IndexNames::findPluginName(keyPattern)),
+ IndexDescriptor::kLatestIndexVersion,
multikey,
{},
{},
@@ -919,6 +921,7 @@ protected:
params.indices.push_back(
IndexEntry(keyPattern,
IndexNames::nameToType(IndexNames::findPluginName(keyPattern)),
+ IndexDescriptor::kLatestIndexVersion,
multikey,
{},
{},
@@ -934,6 +937,7 @@ protected:
void addIndex(BSONObj keyPattern, const std::string& indexName, CollatorInterface* collator) {
IndexEntry entry(keyPattern,
IndexNames::nameToType(IndexNames::findPluginName(keyPattern)),
+ IndexDescriptor::kLatestIndexVersion,
false,
{},
{},