The XenForo finder system allows index hints applied to the 'from' clause, but not when doing joins.
ie;
This is desirable as at some optimization levels recent MySQL version do not correctly select the right index (or ignore it entirely!) for a join.
This would ideally result in a change to the "join" with clauses so the various
ie;
SQL:
select *
from a
join b as c use index(d) on c.id = a.id
This is desirable as at some optimization levels recent MySQL version do not correctly select the right index (or ignore it entirely!) for a join.
This would ideally result in a change to the "join" with clauses so the various
getEntityWith
statements could apply an index depending on context or just in the entity relationship definition would be useful.
Last edited:
Upvote
2