• Igor Babaev's avatar
    Replaced a lame implementation of the function sel_trees_must_be_ored · 27191a30
    Igor Babaev authored
    that blocked building index merge plans for the queries with where
    conditions of the form 
    (key1|2_p1=c AND range(key1_p2)) OR (key1|2_p1=c AND range(key2_p2)).
    
    The problem was discovered by Sergey Petrunia when he reviewed the patch
    for WL#24.
    
    Added new test cases. One of them failed to produce an index merge plan
    before the patch was applied.
    27191a30
range_vs_index_merge_innodb.result 48.5 KB