1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Changes for multi-table delete and UNION's

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2001-06-16 13:58:01 +03:00
parent a184444124
commit 6f5c70703a
4 changed files with 34 additions and 13 deletions

View File

@ -2437,6 +2437,12 @@ mysql_new_select(LEX *lex)
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;
}
void