• Varun Gupta's avatar
    MDEV-23216: LONGTEXT column with collation doesn't sort · a18639f1
    Varun Gupta authored
    An overflow was happening with LONGTEXT columns, when the length was converted to the length
    in the strxfrm form (mem-comparable keys).
    Introduced a function to truncate the length to the max_sort_length before calculating
    the length of the strxfrm form.
    a18639f1
order_by.test 97.3 KB