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