Details
-
New Feature
-
Status: Stalled (View Workflow)
-
Critical
-
Resolution: Unresolved
-
Server 12.1 dev sprint
Description
Implement the new-style hints:
INDEX_MERGE
|
NO_INDEX_MERGE
|
in a way compatible to MySQL.
MySQL's Work Log: https://dev.mysql.com/worklog/task/?id=9167
Attachments
Issue Links
- split from
-
MDEV-33281 Implement optimizer hints like in MySQL 8
-
- In Progress
-
Both our code and the referenced MySQL work log mention not only index merge but also others (like index_merge_union). Judging from our code, it appears that codepaths where some index_merge_* optimizer switch is used are gated by the index merge option itself (as though it is a top-level switch) so it appears sufficient for the new hint to affect only index merge, and the others will either be enabled or disabled accordingly. Testing will bear it out and I'll update accordingly.