Commit f4e6fca1 authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-4.0

into  mysql.com:/home/my/mysql-4.0

parents 2e887f79 d853ecd6
...@@ -351,8 +351,8 @@ bool Item_field::fix_fields(THD *thd,TABLE_LIST *tables) ...@@ -351,8 +351,8 @@ bool Item_field::fix_fields(THD *thd,TABLE_LIST *tables)
{ {
if (thd->lex.select_lex.is_item_list_lookup) if (thd->lex.select_lex.is_item_list_lookup)
{ {
Item** res= find_item_in_list(this, thd->lex.select_lex.item_list); Item **res= find_item_in_list(this, thd->lex.select_lex.item_list);
if (res && *res && (*res)->type() == Item::FIELD_ITEM) if (res && (*res)->type() == Item::FIELD_ITEM)
{ {
set_field((*((Item_field**)res))->field); set_field((*((Item_field**)res))->field);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment