• Igor Babaev's avatar
    Fixed LP bug #826279. · aab970f5
    Igor Babaev authored
    When the WHERE/HAVING condition of a subquery has been transformed
    by the optimizer the pointer stored the 'where'/'having' field 
    of the SELECT_LEX structure used for the subquery must be updated
    accordingly. Otherwise the pointer may refer to an invalid item.
    This can lead to the reported assertion failure for some queries
    with correlated subqueries   
    aab970f5
subselect_no_mat.result 181 KB