diff options
author | unknown <bell@sanja.is.com.ua> | 2002-05-09 15:23:57 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-05-09 15:23:57 +0300 |
commit | b69d8dab20811845e41c9f5c770125fd2f3b1a2f (patch) | |
tree | f1077e91c5d64a2cfeebc6ff2fafe734c77fb369 /sql/sql_union.cc | |
parent | 510a4d1da1578c240a37328e82f2dbaae1a7bfc3 (diff) | |
download | mariadb-git-b69d8dab20811845e41c9f5c770125fd2f3b1a2f.tar.gz |
total table list managment is changed
sql/sql_lex.cc:
tabllist creation routine moved to SELECT_LEX_UNION class & made recursive
sql/sql_lex.h:
list creation routine moved to SELECT_LEX_UNION class
sql/sql_parse.cc:
list creation routine moved to SELECT_LEX_UNION class
anonymous union used for storing TABLE*/TABLE_LIST*
sql/sql_union.cc:
anonymous union used for storing TABLE*/TABLE_LIST*
sql/table.h:
anonymous union used for storing TABLE*/TABLE_LIST*
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index d821c6f6641..ef34af6fe1e 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -48,7 +48,7 @@ int mysql_union(THD *thd, LEX *lex,select_result *result) for (TABLE_LIST *cursor= (TABLE_LIST *)sl->table_list.first; cursor; cursor=cursor->next) - cursor->table= ((TABLE_LIST*) cursor->table)->table; + cursor->table= cursor->table_list->table; } /* Global option */ |