diff options
author | Igor Babaev <igor@askmonty.org> | 2012-12-13 23:05:12 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-12-13 23:05:12 -0800 |
commit | a06224bd1594ea1da650f748a8956922eafd2363 (patch) | |
tree | 99fc4c066ce8e3b9c0037333c62b993a787458d8 /sql/sql_rename.cc | |
parent | 65820439bdafeead66496b489c076012c334c710 (diff) | |
download | mariadb-git-a06224bd1594ea1da650f748a8956922eafd2363.tar.gz |
Addressed all remaining issues from the review of the patch
that introduced engine independent persistent statistics.
In particular:
- added an enumeration type for possible values of the system
variable use_stat_tables
- renamed KEY::real_rec_per_key to KEY::actual_rec_per_key
- optimized the collection of statistical data for any primary
key defined only on one column.
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r-- | sql/sql_rename.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc index d27989c3b01..c91623cee6e 100644 --- a/sql/sql_rename.cc +++ b/sql/sql_rename.cc @@ -28,6 +28,7 @@ #include "lock.h" // MYSQL_OPEN_SKIP_TEMPORARY #include "sql_base.h" // tdc_remove_table, lock_table_names, #include "sql_handler.h" // mysql_ha_rm_tables +#include "sql_statistics.h" #include "datadict.h" static TABLE_LIST *rename_tables(THD *thd, TABLE_LIST *table_list, |