summaryrefslogtreecommitdiff
path: root/jstests/core/index_bounds_pipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/index_bounds_pipe.js')
-rw-r--r--jstests/core/index_bounds_pipe.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/core/index_bounds_pipe.js b/jstests/core/index_bounds_pipe.js
index 8989d249b8a..fffb203f793 100644
--- a/jstests/core/index_bounds_pipe.js
+++ b/jstests/core/index_bounds_pipe.js
@@ -1,6 +1,7 @@
/**
* Tests the tightness of index bounds when attempting to match a regex that contains escaped and
* non-escaped pipe '|' characters.
+ * TODO SERVER-52734: remove sbe_incompatible tag
* @tags: [
* sbe_incompatible,
* ]
@@ -36,7 +37,7 @@ function assertIndexBoundsAndResult(params) {
// Check that the query uses correct index bounds. When run against a sharded cluster, there
// may be multiple index scan stages, but each should have the same index bounds.
- const ixscans = getPlanStages(explain.queryPlanner.winningPlan, 'IXSCAN');
+ const ixscans = getPlanStages(getWinningPlan(explain.queryPlanner), 'IXSCAN');
assert.gt(ixscans.length, 0, 'Plan unexpectedly missing IXSCAN stage: ' + tojson(explain));
for (let i = 0; i < ixscans.length; i++) {
const ixscan = ixscans[i];