Fix a -Wimplicit-fallthrough warning

This commit is contained in:
Marko Mäkelä 2018-01-05 22:48:09 +02:00
parent f77fe24d2d
commit 6d49ef49e5

View file

@ -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;