1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

support of simple row subselects (SCRUM)

This commit is contained in:
bell@sanja.is.com.ua
2002-12-19 07:38:33 +02:00
parent b785e980bd
commit 4cfb6d97b5
8 changed files with 307 additions and 69 deletions

View File

@@ -931,8 +931,9 @@ bool select_singleval_subselect::send_data(List<Item> &items)
DBUG_RETURN(0);
}
List_iterator_fast<Item> li(items);
Item *val_item= li++; // Only one (single value subselect)
it->store(val_item);
Item *val_item;
for (uint i= 0; (val_item= li++); i++)
it->store(i, val_item);
it->assigned(1);
DBUG_RETURN(0);
}