1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge bb-10.2-ext into 10.3

This commit is contained in:
Marko Mäkelä
2018-01-05 22:52:06 +02:00
73 changed files with 2051 additions and 5588 deletions

View File

@ -68,14 +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;
/* fall through */
break;
case EXCEPT_TYPE:
step= thd->lex->current_select->linkage;
break;
default:
step= UNION_TYPE;