• gkodinov/kgeorge@magare.gmz's avatar
    Bug #36011: server crash with explain extended on query · df3341a7
    gkodinov/kgeorge@magare.gmz authored
       with dependent subqueries
    An IN subquery is executed on EXPLAIN when it's not correlated.
    If the subquery required a temporary table for its execution
    not all the internal structures were restored from pointing to
    the items of the temporary table to point back to the items of
    the subquery.
    Fixed by restoring the ref array when a temp tables were used in
    executing the IN subquery during EXPLAIN EXTENDED.
    df3341a7
subselect.test 118 KB