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

postreview fixes

This commit is contained in:
bell@sanja.is.com.ua
2004-05-07 00:32:44 +03:00
parent a31452c512
commit c5d8497ee0
2 changed files with 6 additions and 2 deletions

View File

@ -263,7 +263,8 @@ int st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
union_result->set_table(table);
thd_arg->lex->current_select= lex_select_save;
if (!item_list.elements){
if (!item_list.elements)
{
Statement *stmt= thd->current_statement;
Statement backup;
if (stmt)