diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2021-01-18 22:06:40 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-30 03:46:12 +0000 |
commit | c088ca3d8fef6d806f92ea2d5869d8910e5cd30c (patch) | |
tree | e5d69b3273488d9d0c9aa2894184cc8a7545aac9 /jstests/core/index_filter_collation.js | |
parent | c08203fe14a89e789b7dc5353c427e34c4c2b31e (diff) | |
download | mongo-c088ca3d8fef6d806f92ea2d5869d8910e5cd30c.tar.gz |
SERVER-53270 Include SBE PlanStage tree string into explain output
Diffstat (limited to 'jstests/core/index_filter_collation.js')
-rw-r--r-- | jstests/core/index_filter_collation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/index_filter_collation.js b/jstests/core/index_filter_collation.js index 7734acdfa38..74ec64f3b3c 100644 --- a/jstests/core/index_filter_collation.js +++ b/jstests/core/index_filter_collation.js @@ -77,10 +77,10 @@ function assertIsIxScanOnIndex(winningPlan, keyPattern) { // Run the queries and be sure the correct indexes are used. let explain = coll.find({x: 3}).explain(); checkIndexFilterSet(explain, true); -assertIsIxScanOnIndex(explain.queryPlanner.winningPlan, {x: 1, y: 1}); +assertIsIxScanOnIndex(getWinningPlan(explain.queryPlanner), {x: 1, y: 1}); // Run the queries and be sure the correct indexes are used. explain = coll.find({x: 3}).collation(caseInsensitive).explain(); checkIndexFilterSet(explain, true); -assertIsIxScanOnIndex(explain.queryPlanner.winningPlan, {x: 1}); +assertIsIxScanOnIndex(getWinningPlan(explain.queryPlanner), {x: 1}); })(); |