summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/get_executor_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/get_executor_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/get_executor_test.cpp')
-rw-r--r--src/mongo/db/query/get_executor_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/query/get_executor_test.cpp b/src/mongo/db/query/get_executor_test.cpp
index 33f22f6ffed..40da9d86e8e 100644
--- a/src/mongo/db/query/get_executor_test.cpp
+++ b/src/mongo/db/query/get_executor_test.cpp
@@ -134,6 +134,7 @@ void testAllowedIndices(std::vector<IndexEntry> indexes,
IndexEntry buildSimpleIndexEntry(const BSONObj& kp, const std::string& indexName) {
return {kp,
IndexNames::nameToType(IndexNames::findPluginName(kp)),
+ IndexDescriptor::kLatestIndexVersion,
false,
{},
{},
@@ -155,6 +156,7 @@ IndexEntry buildWildcardIndexEntry(const BSONObj& kp,
const std::string& indexName) {
return {kp,
IndexNames::nameToType(IndexNames::findPluginName(kp)),
+ IndexDescriptor::kLatestIndexVersion,
false,
{},
{},