You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in mysql8.0, TABLE_LIST::outer_join data type is bool bool outer_join{false};
in tianmu
JoinType JO_LEFT and JO_RIGHT is used to check if it is a left join and check CondType is ON_LEFT_FILTER ;
JoinType JO_INNER and JO_FULL is used to check if it's CondType is ON_INNER_FILTER;
Is your feature request related to a problem? Please describe.
in tianmu:
enum class JoinType { JO_INNER, JO_LEFT, JO_RIGHT, JO_FULL };
in mysql5.7, the jointype is in sql/table.h ,used to assigne value to TABLE_LIST::outer_join, outer_join is uint type.
uint outer_join;
in mysql8.0, TABLE_LIST::outer_join data type is bool
bool outer_join{false};
in tianmu
JoinType JO_LEFT and JO_RIGHT is used to check if it is a left join and check CondType is ON_LEFT_FILTER ;
JoinType JO_INNER and JO_FULL is used to check if it's CondType is ON_INNER_FILTER;
Describe the solution you'd like
So, juse use mysql8.0 TABLE_LIST::outer_join‘s boolean value to decides join type is(JO_LEFT / JO_RIGHT)or (JO_INNER and JO_FULL)
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: