compilation failure fixed
This commit is contained in:
parent
c9978d8bcb
commit
07fa475e26
@ -1768,7 +1768,7 @@ bool Item_field::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
|
|||||||
Item** res= find_item_in_list(this, thd->lex->current_select->item_list,
|
Item** res= find_item_in_list(this, thd->lex->current_select->item_list,
|
||||||
&counter, REPORT_EXCEPT_NOT_FOUND,
|
&counter, REPORT_EXCEPT_NOT_FOUND,
|
||||||
¬_used);
|
¬_used);
|
||||||
if (res != not_found_item && (*res)->type() == Item::FIELD_ITEM)
|
if (res != (Item **)not_found_item && (*res)->type() == Item::FIELD_ITEM)
|
||||||
{
|
{
|
||||||
set_field((*((Item_field**)res))->field);
|
set_field((*((Item_field**)res))->field);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user