Commit 50499c6d authored by unknown's avatar unknown

fixed comments

parent 22657f67
...@@ -1321,8 +1321,8 @@ bool st_select_lex_unit::create_total_list(THD *thd_arg, st_lex *lex, ...@@ -1321,8 +1321,8 @@ bool st_select_lex_unit::create_total_list(THD *thd_arg, st_lex *lex,
DESCRIPTION DESCRIPTION
This is used for UNION & subselect to create a new table list of all used This is used for UNION & subselect to create a new table list of all used
tables. tables.
The table_list->table entry in all used tables are set to point The table_list->table_list in all tables of global list are set to point
to the entries in this list. to the local SELECT_LEX entries.
RETURN RETURN
0 - OK 0 - OK
...@@ -1373,7 +1373,7 @@ create_total_list_n_last_return(THD *thd_arg, ...@@ -1373,7 +1373,7 @@ create_total_list_n_last_return(THD *thd_arg,
{ {
TABLE_LIST *cursor; TABLE_LIST *cursor;
next_table= aux->next; next_table= aux->next;
/* Add not used table to the total table list */ /* Add to the total table list */
if (!(cursor= (TABLE_LIST *) thd->memdup((char*) aux, if (!(cursor= (TABLE_LIST *) thd->memdup((char*) aux,
sizeof(*aux)))) sizeof(*aux))))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment