• igor@rurik.mysql.com's avatar
    Fixed bug #21727. · 2a7acba7
    igor@rurik.mysql.com authored
    This is a performance issue for queries with subqueries evaluation
    of which requires filesort.
    Allocation of memory for the sort buffer at each evaluation of a
    subquery may take a significant amount of time if the buffer is rather big.
    With the fix we allocate the buffer at the first evaluation of the
    subquery and reuse it at each subsequent evaluation.
    2a7acba7
sql_show.cc 145 KB