• Igor Babaev's avatar
    Fixed bug #49322. · b3cd40e0
    Igor Babaev authored
    When not-exists optimization was applied to a table that
    happened to be an inner table of two outer joins, one
    embedded into another, then setting the match flag for
    the embedding outer join on could be skipped. This caused
    generation of extra null complemented rows.
    Made sure that the match flags are set correctly in all cases
    when not-exists optimization is used.  
    b3cd40e0
sql_select.cc 561 KB