mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16697: Fix difference between 32bit/windows and 64bit systems in allowed select nest level
This commit is contained in:
@ -857,7 +857,7 @@ static bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table,
|
||||
const bool save_agg_field= thd->lex->current_select->non_agg_field_used();
|
||||
const bool save_agg_func= thd->lex->current_select->agg_func_used();
|
||||
const nesting_map saved_allow_sum_func= thd->lex->allow_sum_func;
|
||||
thd->lex->allow_sum_func= 0;
|
||||
thd->lex->allow_sum_func.clear_all();
|
||||
|
||||
if (likely(!(error= func_expr->fix_fields_if_needed(thd, (Item**)&func_expr))))
|
||||
func_expr->walk(&Item::post_fix_fields_part_expr_processor, 0, NULL);
|
||||
|
Reference in New Issue
Block a user