1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed wrong initializations of Dynamic_array

Other things:
- Added size() function to Dynamic_array()
This commit is contained in:
Monty
2021-03-19 18:15:23 +02:00
parent 8f33f49ebe
commit cccc96d66c
7 changed files with 14 additions and 10 deletions

View File

@@ -8027,7 +8027,7 @@ SEL_TREE *Item_func_in::get_func_row_mm_tree(RANGE_OPT_PARAM *param,
table_map param_comp= ~(param->prev_tables | param->read_tables |
param->current_table);
uint row_cols= key_row->cols();
Dynamic_array <Key_col_info> key_cols_info(row_cols);
Dynamic_array <Key_col_info> key_cols_info(PSI_INSTRUMENT_MEM,row_cols);
cmp_item_row *row_cmp_item;
if (array)