diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2020-05-29 00:32:08 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2020-06-05 01:11:03 +0530 |
commit | f30ff10c8d02d8385bafa290b8c73367d49aece2 (patch) | |
tree | 12fc921da3dddc00b0a47314182b19bd4eb29540 /mysql-test/t/index_merge_innodb.test | |
parent | 3f019d1771d4e6e21f941b72a83e0663f15b376f (diff) | |
download | mariadb-git-f30ff10c8d02d8385bafa290b8c73367d49aece2.tar.gz |
MDEV-22715: SIGSEGV in radixsort_for_str_ptr and in native_compare/my_qsort2 (optimized builds)
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.
Diffstat (limited to 'mysql-test/t/index_merge_innodb.test')
0 files changed, 0 insertions, 0 deletions