mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed * without tables in IN bug
fixed sunction-test select in IN bug fixed unions in subselect bug
This commit is contained in:
@ -2082,7 +2082,7 @@ int setup_fields(THD *thd, TABLE_LIST *tables, List<Item> &fields,
|
||||
|
||||
while ((item=it++))
|
||||
{
|
||||
if (item->type() == Item::FIELD_ITEM &&
|
||||
if (item->type() == Item::FIELD_ITEM && ((Item_field*) item)->field_name &&
|
||||
((Item_field*) item)->field_name[0] == '*')
|
||||
{
|
||||
uint elem= fields.elements;
|
||||
|
Reference in New Issue
Block a user