• igor@rurik.mysql.com's avatar
    Fixed bug #22015: crash with GROUP_CONCAT over a derived table · f2225cab
    igor@rurik.mysql.com authored
    that returns the results of aggregation by GROUP_CONCAT.
    The crash was due to an overflow happened for the field
    sortoder->length.
    The fix prevents this overflow exploiting the fact that the
    value of sortoder->length cannot be greater than the value of
    thd->variables.max_sort_length.   
    f2225cab
filesort.cc 42.9 KB