Optimizer: invalid hint addition renders other hints in the hint set ineffective #49308
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
epic/hint
severity/moderate
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
When there is an invalid hint in a hint set, the behaviour in TiDB is different than MySQL. MySQL respects the other valid hints while TiDB ignore all the hints in the set.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Result from MySQL : Server version: 5.7.44 MySQL Community Server (GPL)
3. What did you see instead (Required)
Result from TiDB v6.5.4
4. What is your TiDB version? (Required)
6.5.4
The text was updated successfully, but these errors were encountered: