1
0
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:
bell@sanja.is.com.ua
2002-11-28 19:29:26 +02:00
parent d2e5a5ddd2
commit b8b7d0b03b
35 changed files with 199 additions and 39 deletions

View File

@ -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;