mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
item_func.cc bug with several fulltext indexes fixed
sql/item_func.cc: bug with several fulltext indexes fixed
This commit is contained in:
parent
c1fdd5b55a
commit
d8a4ee0da2
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue