mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations
This commit is contained in:
@ -110,7 +110,7 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table)
|
||||
};
|
||||
|
||||
ST_FIELD_INFO *field_info;
|
||||
Name_resolution_context *context= &thd->lex->select_lex.context;
|
||||
Name_resolution_context *context= &thd->lex->first_select_lex()->context;
|
||||
int i;
|
||||
|
||||
for (i= 0; schema_table->fields_info[i].field_name != NULL; i++)
|
||||
@ -402,7 +402,7 @@ bool PROFILING::show_profiles()
|
||||
QUERY_PROFILE *prof;
|
||||
List<Item> field_list;
|
||||
MEM_ROOT *mem_root= thd->mem_root;
|
||||
SELECT_LEX *sel= &thd->lex->select_lex;
|
||||
SELECT_LEX *sel= thd->lex->first_select_lex();
|
||||
SELECT_LEX_UNIT *unit= &thd->lex->unit;
|
||||
ha_rows idx= 0;
|
||||
Protocol *protocol= thd->protocol;
|
||||
|
Reference in New Issue
Block a user