Commit 5f0cd0fe authored by unknown's avatar unknown

fixed bug, that caused suboptimal memory usage during REPAIR when...

fixed bug, that caused suboptimal memory usage during REPAIR when ft_max_word_len was decreased by user


parent e8c681a7
......@@ -1943,7 +1943,7 @@ int mi_repair_by_sort(MI_CHECK *param, register MI_INFO *info,
(ha_rows) (sort_info.filelength/ft_max_word_len_for_sort+1);
sort_param.key_read=sort_ft_key_read;
sort_param.key_length+=ft_max_word_len_for_sort-ft_max_word_len;
sort_param.key_length+=ft_max_word_len_for_sort-HA_FT_MAXLEN;
}
else
sort_param.key_read=sort_key_read;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment