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

many bug fixes

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-11-29 14:49:07 +02:00
parent 8a53d1ca6a
commit 481bcd5750
7 changed files with 24 additions and 14 deletions

View File

@ -1173,6 +1173,8 @@ bool st_select_lex_unit::create_total_list_n_last_return(THD *thd, st_lex *lex,
net_printf(thd,ER_WRONG_USAGE,"UNION","ORDER BY");
return 1;
}
if (sl->linkage == DERIVED_TABLE_TYPE)
continue;
for (SELECT_LEX_UNIT *inner= sl->first_inner_unit();
inner;
inner= inner->next_unit())