• Igor Babaev's avatar
    Fixed LP bug #685952. · 6aa826f8
    Igor Babaev authored
    When ORing two AND-OR formulas the range optimizer could miss
    a conjunct in one of AND-OR formulas in the result. If the
    index merge union plan to access a table is formed by this 
    formula that, in general, is not inferred from the original
    where/on condition,the query could return an incorrect result set.
     
    6aa826f8
range_vs_index_merge.test 33.5 KB