mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge 4.1->5.0
This commit is contained in:
@ -115,7 +115,7 @@ int mysql_derived_prepare(THD *thd, LEX *lex, TABLE_LIST *orig_table_list)
|
||||
DBUG_RETURN(1); // out of memory
|
||||
|
||||
// st_select_lex_unit::prepare correctly work for single select
|
||||
if ((res= unit->prepare(thd, derived_result, 0)))
|
||||
if ((res= unit->prepare(thd, derived_result, 0, org_table_list->alias)))
|
||||
goto exit;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user