Commit cd328cc2 authored by unknown's avatar unknown

postreview fixes


sql/sql_lex.h:
  description of field
sql/sql_union.cc:
  layout fixed
parent 56568288
......@@ -332,7 +332,10 @@ class st_select_lex_unit: public st_select_lex_node {
Item_subselect *item;
/* thread handler */
THD *thd;
/* fake SELECT_LEX for union processing */
/*
SELECT_LEX for hidden SELECT in onion which process global
ORDER BY and LIMIT
*/
st_select_lex *fake_select_lex;
st_select_lex *union_distinct; /* pointer to the last UNION DISTINCT */
......
......@@ -263,7 +263,8 @@ int st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
union_result->set_table(table);
thd_arg->lex->current_select= lex_select_save;
if (!item_list.elements){
if (!item_list.elements)
{
Statement *stmt= thd->current_statement;
Statement backup;
if (stmt)
......
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