diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2020-10-29 18:07:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-04 16:47:25 +0000 |
commit | b9630a4621e919837749c5010f3c8e3429a944a9 (patch) | |
tree | b9a73bacf2e96c6207caa05204bc01154efa40c1 /src/mongo/db/query/plan_cache_test.cpp | |
parent | 4666dc59f9aa93e4927bf9835b4bd038488d98f9 (diff) | |
download | mongo-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.cpp | 4 |
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, {}, {}, |