summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2023-03-17 12:02:04 +0200
committerMonty <monty@mariadb.org>2023-05-02 23:37:10 +0300
commit4cb0d43ac63761174a39cea892c176b9cfa6edfc (patch)
tree441fd65a712b8a1e70304e5cb95777e28bcb1548 /sql
parent1ef22e28ad7744d436c694e970420c426fc7095a (diff)
downloadmariadb-git-4cb0d43ac63761174a39cea892c176b9cfa6edfc.tar.gz
MDEV-28054 Various crashes upon INSERT/UPDATE after changing Aria settings
The cause of the crash was that test was setting aria_sort_buffer_size to MAX_LONG_LONG, which caused an overflow in my_malloc() when trying to allocate the buffer + 8 bytes. Fixed by reducing max size of sort_buffer for Aria and MyISAM Other things: - Added code in maria_repair_parallell() to not allocate a big sort buffer for small files. - Updated size of minumim sort buffer in Aria
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions