• Igor Babaev's avatar
    Fixed LP bug #826279. · 9f45b1e2
    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   
    9f45b1e2
subselect_no_opts.result 181 KB