mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1 sql/sql_base.cc: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
@ -2180,8 +2180,8 @@ bool remove_table_from_cache(THD *thd, const char *db, const char *table_name,
|
||||
|
||||
int setup_ftfuncs(THD *thd)
|
||||
{
|
||||
List_iterator<Item_func_match> li(thd->lex.select_lex.ftfunc_list),
|
||||
lj(thd->lex.select_lex.ftfunc_list);
|
||||
List_iterator<Item_func_match> li(thd->lex.select->ftfunc_list),
|
||||
lj(thd->lex.select->ftfunc_list);
|
||||
Item_func_match *ftf, *ftf2;
|
||||
|
||||
while ((ftf=li++))
|
||||
@ -2201,9 +2201,9 @@ int setup_ftfuncs(THD *thd)
|
||||
|
||||
int init_ftfuncs(THD *thd, bool no_order)
|
||||
{
|
||||
if (thd->lex.select_lex.ftfunc_list.elements)
|
||||
if (thd->lex.select->ftfunc_list.elements)
|
||||
{
|
||||
List_iterator<Item_func_match> li(thd->lex.select_lex.ftfunc_list);
|
||||
List_iterator<Item_func_match> li(thd->lex.select->ftfunc_list);
|
||||
Item_func_match *ifm;
|
||||
DBUG_PRINT("info",("Performing FULLTEXT search"));
|
||||
thd->proc_info="FULLTEXT initialization";
|
||||
|
Reference in New Issue
Block a user