mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '11.6' into 11.7
This commit is contained in:
@@ -3673,7 +3673,7 @@ bool st_select_lex::setup_ref_array(THD *thd, uint order_group_num)
|
||||
if (!ref_pointer_array.is_null())
|
||||
return false;
|
||||
|
||||
Item **array= thd->active_stmt_arena_to_use()->alloc<Item*>(n_elems);
|
||||
Item **array= thd->active_stmt_arena_to_use()->calloc<Item*>(n_elems);
|
||||
if (likely(array != NULL))
|
||||
ref_pointer_array= Ref_ptr_array(array, n_elems);
|
||||
return array == NULL;
|
||||
|
Reference in New Issue
Block a user