Skip to content

Commit

Permalink
jen's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
max-hoffman committed Nov 7, 2023
1 parent ba7951c commit f8631df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enginetest/evaluation.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func TestQueryWithIndexCheck(t *testing.T, ctx *sql.Context, e QueryEngine, harn
require.NoError(err)
}

if _, ok := e.(*ServerQueryEngine); !ok {
if IsServerEngine(e) {
node, err := e.AnalyzeQuery(ctx, q)
require.NoError(err, "Unexpected error for query %s: %s", q, err)
require.True(CheckIndexedAccess(node), "expected plan to have index, but found: %s", sql.DebugString(node))
Expand Down

0 comments on commit f8631df

Please sign in to comment.