• Varun Gupta's avatar
    MDEV-22715: SIGSEGV in radixsort_for_str_ptr and in native_compare/my_qsort2 (optimized builds) · f30ff10c
    Varun Gupta authored
    For DECIMAL[(M[,D])] datatype max_sort_length was not being honoured which was leading to buffer
    overflow while making the sort key. The fix to this problem would be to create sort keys for decimals
    with atmost max_sort_key bytes
    
    Important:
    The minimum value of max_sort_length has been raised to 8 (previously was 4),
    so fixed size datatypes like DOUBLE and BIGINIT are not truncated for
    lower values of max_sort_length.
    f30ff10c
field.cc 313 KB