• Igor Babaev's avatar
    Fixed the bugs mdev-12670 and mdev-12675. · 6b97fe06
    Igor Babaev authored
    The code that blocked conversion of a IN subselect pedicate to a semi-join
    if it occurred in the ON expression of an outer join did not do it correctly.
    As a result, the conversion was blocked for IN subselect predicates
    encountered in ON expressions of INNER joins or in WHERE conditions
    of mergeable views / derived tables. This patch fixes this problem.
    6b97fe06
subselect_sj.result 105 KB