mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix a -Wimplicit-fallthrough warning
This commit is contained in:
parent
f77fe24d2d
commit
6d49ef49e5
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue