mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations
This commit is contained in:
@ -830,7 +830,8 @@ static bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table,
|
||||
goto end;
|
||||
table->get_fields_in_item_tree= true;
|
||||
|
||||
func_expr->walk(&Item::change_context_processor, 0, &lex.select_lex.context);
|
||||
func_expr->walk(&Item::change_context_processor, 0,
|
||||
&lex.first_select_lex()->context);
|
||||
thd->where= "partition function";
|
||||
/*
|
||||
In execution we must avoid the use of thd->change_item_tree since
|
||||
|
Reference in New Issue
Block a user