Commit f9164061 authored by unknown's avatar unknown

item_func.cc bug with several fulltext indexes fixed


sql/item_func.cc:
  bug with several fulltext indexes fixed
parent f1e6c99b
...@@ -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