mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
UNION stuff mainly.
This commit is contained in:
@ -2445,13 +2445,13 @@ mysql_new_select(LEX *lex)
|
||||
uint select_no=lex->select->select_number;
|
||||
SELECT_LEX *select_lex = (SELECT_LEX *)sql_calloc(sizeof(SELECT_LEX));
|
||||
lex->select->next=select_lex;
|
||||
lex->select=select_lex; lex->select->select_number = ++select_no;
|
||||
lex->select->item_list = lex->select_lex.item_list;
|
||||
lex->select->item_list.empty();
|
||||
lex->select->table_list = lex->select_lex.table_list;
|
||||
lex->select->table_list.elements=0;
|
||||
lex->select->table_list.first=0;
|
||||
lex->select->table_list.next= (byte**) &lex->select->table_list.first;
|
||||
lex->select=select_lex; select_lex->select_number = ++select_no;
|
||||
select_lex->table_list.elements=0;
|
||||
select_lex->table_list.first=0;
|
||||
select_lex->table_list.next= (byte**) &select_lex->table_list.first;
|
||||
select_lex->item_list.empty(); select_lex->when_list.empty();
|
||||
select_lex->expr_list.empty(); select_lex->interval_list.empty();
|
||||
select_lex->use_index.empty(); select_lex->ftfunc_list.empty();
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user