Details
Description
sql/opt_split.cc: In member function ‘SplM_plan_info* st_join_table::choose_best_splitting(uint, table_map, table_map*)’:
|
sql/opt_split.cc:1043:5: warning: ‘best_param_tables’ may be used uninitialized [-Wmaybe-uninitialized]
|
1043 | if (!best_param_tables)
|
| ^~
|
sql/opt_split.cc:966:13: note: ‘best_param_tables’ was declared here
|
966 | table_map best_param_tables;
|
| ^~~~~~~~~~~~~~~~~
|
best_param_tables isn't initialized to 0 anyway, The only changes add bits to it.
Attachments
Issue Links
- is caused by
-
MDEV-26301 Split optimization refills temporary table too many times
- Closed