• igor@olga.mysql.com's avatar
    Fixed bug #26661: crash when order by clause in a union · 96cfd5ab
    igor@olga.mysql.com authored
    construct references invalid name.
    Derived tables currently cannot use outer references.
    Thus there is no outer context for them.
    The 4.1 code takes this fact into account while the 
    Item_field::fix_outer_field code of 5.0 lost the check that blocks
    any attempts to resolve names in outer context for derived tables.
    96cfd5ab
union.test 31.4 KB