mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 21:25:36 +02:00
Fix merge error
This commit is contained in:
parent
d6a7de2022
commit
0f44c8ab28
1 changed files with 2 additions and 2 deletions
|
|
@ -712,8 +712,8 @@ bool Unique::merge(TABLE *table, uchar *buff, bool without_last_merge)
|
|||
full_size;
|
||||
sort_param.min_dupl_count= min_dupl_count;
|
||||
sort_param.res_length= 0;
|
||||
sort_param.keys= (uint) MY_MAX((max_in_memory_size / sort_param.sort_length),
|
||||
MERGEBUFF2);
|
||||
sort_param.max_keys_per_buffer=
|
||||
(uint) MY_MAX((max_in_memory_size / sort_param.sort_length), MERGEBUFF2);
|
||||
sort_param.not_killable= 1;
|
||||
|
||||
sort_param.unique_buff= buff +(sort_param.max_keys_per_buffer *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue