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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user