Commit 0c94c1de authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

Merge

parents c39d20ff d0162c3a
...@@ -1988,7 +1988,7 @@ bool Item_func_match::fix_index() ...@@ -1988,7 +1988,7 @@ bool Item_func_match::fix_index()
ft_to_key[mkeys]=ft_to_key[key]; ft_to_key[mkeys]=ft_to_key[key];
continue; continue;
} }
if (ft_cnt[key] == max_cnt) if (max_cnt && ft_cnt[key] == max_cnt)
{ {
mkeys++; mkeys++;
ft_cnt[mkeys]=ft_cnt[key]; ft_cnt[mkeys]=ft_cnt[key];
......
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