1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

simple subselects ported to new select_lex structures

This commit is contained in:
bell@sanja.is.com.ua
2002-05-12 23:46:42 +03:00
parent 4cb3760b44
commit e077890b04
40 changed files with 2541 additions and 349 deletions

View File

@ -685,6 +685,19 @@ class select_union :public select_result {
bool flush();
};
/* Single value subselect interface class */
class select_subselect :public select_result
{
Item_subselect *item;
public:
select_subselect(Item_subselect *item);
bool send_fields(List<Item> &list, uint flag) { return 0; };
bool send_data(List<Item> &items);
bool send_eof() { return 0; };
friend class Ttem_subselect;
};
/* Structs used when sorting */
typedef struct st_sort_field {