summaryrefslogtreecommitdiff
path: root/jstests/core/wildcard_index_hint.js
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2021-01-18 22:06:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-30 03:46:12 +0000
commitc088ca3d8fef6d806f92ea2d5869d8910e5cd30c (patch)
treee5d69b3273488d9d0c9aa2894184cc8a7545aac9 /jstests/core/wildcard_index_hint.js
parentc08203fe14a89e789b7dc5353c427e34c4c2b31e (diff)
downloadmongo-c088ca3d8fef6d806f92ea2d5869d8910e5cd30c.tar.gz
SERVER-53270 Include SBE PlanStage tree string into explain output
Diffstat (limited to 'jstests/core/wildcard_index_hint.js')
-rw-r--r--jstests/core/wildcard_index_hint.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/wildcard_index_hint.js b/jstests/core/wildcard_index_hint.js
index ff481a62712..a5f0f9a4c92 100644
--- a/jstests/core/wildcard_index_hint.js
+++ b/jstests/core/wildcard_index_hint.js
@@ -14,7 +14,7 @@ const assertArrayEq = (l, r) => assert(arrayEq(l, r), tojson(l) + " != " + tojso
// Extracts the winning plan for the given query and hint from the explain output.
const winningPlan = (query, hint) =>
- assert.commandWorked(coll.find(query).hint(hint).explain()).queryPlanner.winningPlan;
+ getWinningPlan(assert.commandWorked(coll.find(query).hint(hint).explain()).queryPlanner);
// Runs the given query and confirms that:
// (1) the expected index was used to answer the query, and