1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/sql/opt_hints_parser.cc
Oleg Smirnov d431998125 MDEV-39349 Make join order hints support extended syntax
There two variants of syntax supported for join order hints:
- hint([@qb_name] t1, t2, t3,...)
- hint (t1[@qb1], t2[@qb2],...)

However, when creating views, internal procedures may produce
a mixed variant of both:
- hint (@qb_name t1, t2@qb1, t3...)

This commit introduces support for this third variant of
syntax for join order hints, so it is supported for both
regular statements and for views
2026-04-30 01:05:25 +07:00

41 KiB