diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2020-06-05 13:11:33 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2020-06-07 04:19:58 +0530 |
commit | d218d1aa49e848cef2bdbe83bbaf08e474d5209c (patch) | |
tree | 408ad20dcf0b7273a8723dc6c44e3fb4f58810ec /client/mysqltest.cc | |
parent | f30ff10c8d02d8385bafa290b8c73367d49aece2 (diff) | |
download | mariadb-git-d218d1aa49e848cef2bdbe83bbaf08e474d5209c.tar.gz |
MDEV-22728: SIGFPE in Unique::get_cost_calc_buff_size from prepare_search_best_index_intersect on optimized builds
For low sort_buffer_size, in the cost calculation of using the Unique object the elements in the tree were evaluated to 0, make sure to have atleast 1 element in the Unique tree.
Also for the function Unique::get allocate memory for atleast MERGEBUFF2+1 keys.
Diffstat (limited to 'client/mysqltest.cc')
0 files changed, 0 insertions, 0 deletions