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
MDEV-36215: Avoid wrong result due to table elimination
There was a Wrong result due to Table Elimination
when 'unique_col IS NULL' condition is supplied in the left-join query.
An index on an unique_col was created for the table, and it
is being used in the plan.
As the query was a left join, no fields from the right table were
projected. The right table was getting wrongly eliminated although
multiple rows from the right could be matched to a single row from the
left with the condition `unique_col IS NULL'.
This PR addresses the problem by including an additional check before
eliminating a table in check_equality() function of opt_table_elimination.cc
0 commit comments