1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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

@@ -40,17 +40,6 @@ int mysql_union(THD *thd, LEX *lex,select_result *result)
DBUG_ENTER("mysql_union");
st_select_lex_node * global;
/* Fix tables 'to-be-unioned-from' list to point at opened tables */
for (sl= &lex->select_lex;
sl;
sl= (SELECT_LEX *) sl->next)
{
for (TABLE_LIST *cursor= (TABLE_LIST *)sl->table_list.first;
cursor;
cursor=cursor->next)
cursor->table= cursor->table_list->table;
}
/* Global option */
if (((void*)(global= unit->global_parameters)) == ((void*)unit))
{