mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fixed bug with GROUP BY on NULL fields.
(Merge of code from 4.0)
This commit is contained in:
@@ -2222,18 +2222,18 @@ int setup_ftfuncs(THD *thd)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int init_ftfuncs(THD *thd, bool no_order)
|
||||
{
|
||||
List_iterator<Item_func_match> li(thd->lex.ftfunc_list);
|
||||
Item_func_match *ifm;
|
||||
DBUG_PRINT("info",("Performing FULLTEXT search"));
|
||||
thd->proc_info="FULLTEXT initialization";
|
||||
|
||||
while ((ifm=li++))
|
||||
if (thd->lex.ftfunc_list.elements)
|
||||
{
|
||||
ifm->init_search(no_order);
|
||||
}
|
||||
List_iterator<Item_func_match> li(thd->lex.ftfunc_list);
|
||||
Item_func_match *ifm;
|
||||
DBUG_PRINT("info",("Performing FULLTEXT search"));
|
||||
thd->proc_info="FULLTEXT initialization";
|
||||
|
||||
while ((ifm=li++))
|
||||
ifm->init_search(no_order);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user