• Igor Babaev's avatar
    Fixed LP bug #668644. · 6b67bafc
    Igor Babaev authored
    The pushdown condition for the sorted table in a query can be complemented
    by the conditions from HAVING. This transformation is done in JOIN::exec
    pretty late after the original pushdown condition have been saved in the
    field pre_idx_push_select_cond for the sorted table. So this field must
    be updated after the inclusion of the condition from HAVING.
    
    6b67bafc
opt_index_cond_pushdown.cc 12 KB