Commit 6d49ef49 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a -Wimplicit-fallthrough warning

parent f77fe24d
......@@ -68,13 +68,14 @@ void select_unit::change_select()
curr_sel= current_select_number;
/* New SELECT processing starts */
DBUG_ASSERT(table->file->inited == 0);
switch (thd->lex->current_select->linkage)
step= thd->lex->current_select->linkage;
switch (step)
{
case INTERSECT_TYPE:
intersect_mark->value= prev_step= curr_step;
curr_step= current_select_number;
break;
case EXCEPT_TYPE:
step= thd->lex->current_select->linkage;
break;
default:
step= UNION_TYPE;
......
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