• Igor Babaev's avatar
    Fixed LP bug #886145. · e0c1b3f2
    Igor Babaev authored
    The bug happened because in some cases the function JOIN::exec
    did not save the value of TABLE::pre_idx_push_select_cond in
    TABLE::select->pre_idx_push_select_cond for the sort table.
    
    Noticed and fixed a bug in the function make_cond_remainder
    that builds the remainder condition after extraction of an index
    pushdown condition from the where condition. The code
    erroneously assumed that the function make_cond_for_table left
    the value of ICP_COND_USES_INDEX_ONLY in sub-condition markers.
    Adjusted many result files from the regression test suite
    after this fix .
    e0c1b3f2
select_jcl6.result 151 KB