somewhere max_execute_time
is not properly used when sql hint max_execute_time
is set
#50914
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
For example:
tidb/pkg/planner/core/plan_stats.go
Lines 103 to 112 in 9bad202
if sql hint
max_execute_time
is set, then session variablemax_execute_time
should be ignored.and
tidb/pkg/expression/builtin_info.go
Line 940 in 9bad202
sql hint
max_execute_time
is not considered.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: