summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-10-02 15:23:59 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-10-02 15:23:59 +0400
commite43791d4dc8feb2c02a08ce73c0bb0e2c320018c (patch)
tree09e69c24467f130df4b0973be7bf27f79c35c67c /sql/sql_statistics.h
parent4bcf524482b3a4260347b0fe912fa2660af97c43 (diff)
downloadmariadb-git-e43791d4dc8feb2c02a08ce73c0bb0e2c320018c.tar.gz
Cleanup EITS
Moved EITS allocation inside read_statistics_for_tables_if_needed(). Removed redundant is_safe argument.
Diffstat (limited to 'sql/sql_statistics.h')
-rw-r--r--sql/sql_statistics.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_statistics.h b/sql/sql_statistics.h
index 16325220e84..968f77cd2ca 100644
--- a/sql/sql_statistics.h
+++ b/sql/sql_statistics.h
@@ -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);