Commit 8188ca36 authored by unknown's avatar unknown

sql_base.cc:

  Small fix after merge of fix for bug#16510


sql/sql_base.cc:
  Small fix after merge of fix for bug#16510
parent f246db07
...@@ -2390,7 +2390,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields, ...@@ -2390,7 +2390,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
if (item->type() == Item::FIELD_ITEM && if (item->type() == Item::FIELD_ITEM &&
((Item_field*) item)->field_name && ((Item_field*) item)->field_name &&
((Item_field*) item)->field_name[0] == '*' && ((Item_field*) item)->field_name[0] == '*' &&
((Item_field*) item)->field_name[1] == 0 &&
!((Item_field*) item)->field) !((Item_field*) item)->field)
{ {
uint elem= fields.elements; uint elem= fields.elements;
......
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