1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Cleanup EITS

Moved EITS allocation inside read_statistics_for_tables_if_needed().
Removed redundant is_safe argument.
This commit is contained in:
Sergey Vojtovich
2019-10-02 15:23:59 +04:00
parent 4bcf524482
commit e43791d4dc
3 changed files with 34 additions and 47 deletions

View File

@ -90,8 +90,6 @@ Use_stat_tables_mode get_use_stat_tables_mode(THD *thd)
int read_statistics_for_tables_if_needed(THD *thd, TABLE_LIST *tables);
int collect_statistics_for_table(THD *thd, TABLE *table);
int alloc_statistics_for_table_share(THD* thd, TABLE_SHARE *share,
bool is_safe);
void delete_stat_values_for_table_share(TABLE_SHARE *table_share);
int alloc_statistics_for_table(THD *thd, TABLE *table);
int update_statistics_for_table(THD *thd, TABLE *table);