mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch 'github/10.1' into 10.2
This commit is contained in:
@ -8414,7 +8414,16 @@ int init_ftfuncs(THD *thd, SELECT_LEX *select_lex, bool no_order)
|
||||
DBUG_PRINT("info",("Performing FULLTEXT search"));
|
||||
|
||||
while ((ifm=li++))
|
||||
ifm->init_search(thd, no_order);
|
||||
#if MYSQL_VERSION_ID < 100213
|
||||
if (unlikely(!ifm->fixed))
|
||||
/*
|
||||
it mean that clause where was FT function was removed, so we have
|
||||
to remove the function from the list.
|
||||
*/
|
||||
li.remove();
|
||||
else
|
||||
#endif
|
||||
ifm->init_search(thd, no_order);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user