mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed error handling bug
fixed naming bug fixed bug of subselect excluding mysql-test/r/subselect.result: test of error handling bug test of naming bug test bug of subselect excluding mysql-test/t/subselect.test: test of error handling bug test of naming bug test bug of subselect excluding sql/item_subselect.cc: fixed naming bug fixed error handling bug sql/sql_lex.cc: fixed subselect excluding bug
This commit is contained in:
@ -1071,7 +1071,10 @@ void st_select_lex_unit::exclude_level()
|
||||
sl->link_next->link_prev= sl->link_prev;
|
||||
SELECT_LEX_UNIT **last= 0;
|
||||
for (SELECT_LEX_UNIT *u= sl->first_inner_unit(); u; u= u->next_unit())
|
||||
{
|
||||
u->master= master;
|
||||
last= (SELECT_LEX_UNIT**)&(u->next);
|
||||
}
|
||||
if (last)
|
||||
{
|
||||
(*units_last)= sl->first_inner_unit();
|
||||
|
Reference in New Issue
Block a user