• unknown's avatar
    Fix of MDEV-3874: Server crashes in Item_field::print on a SELECT from a MERGE... · b8b875cb
    unknown authored
    Fix of MDEV-3874: Server crashes in Item_field::print on a SELECT from a MERGE view with materialization+semijoin, subquery, ORDER BY.
    
    The problem was that in debugging binaries it try to print item to assign human readable name to the item.
    But subquery item was already freed (join_free/cleanup with full cleanup) so Item_field refers to temporary
    table which memory had been already freed.
    b8b875cb
view.test 120 KB