diff options
author | Igor Babaev <igor@askmonty.org> | 2012-06-02 17:19:01 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-06-02 17:19:01 -0700 |
commit | f549f495f7f621d2c7e35303ab84392ec519ecb0 (patch) | |
tree | e4bda3a15dc7827f2bdee376b70f53a410bdf24d /sql/mysqld.h | |
parent | 2ee14ef9c31c5db231bba0acc6d34ff18582353f (diff) | |
download | mariadb-git-f549f495f7f621d2c7e35303ab84392ec519ecb0.tar.gz |
Removed the server option --stat-tables.
Renamed the system variable optimizer_use_stat_tables to use_stat_tables.
This variable now has only 3 possible values:
'never', 'complementary', 'preferably'.
If the server has been launched with
--use-stat-tables='complementary'|'preferably'
then the statictics tables can be employed by the optimizer and by the
ANALYZE command.
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r-- | sql/mysqld.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h index 35b395667e3..69348a45e9a 100644 --- a/sql/mysqld.h +++ b/sql/mysqld.h @@ -105,7 +105,7 @@ extern char* opt_secure_backup_file_priv; extern size_t opt_secure_backup_file_priv_len; extern my_bool opt_log_slow_admin_statements, opt_log_slow_slave_statements; extern my_bool sp_automatic_privileges, opt_noacl; -extern my_bool opt_with_stat_tables; +extern ulong use_stat_tables; extern my_bool opt_old_style_user_limits, trust_function_creators; extern uint opt_crash_binlog_innodb; extern char *shared_memory_base_name, *mysqld_unix_port; @@ -396,7 +396,6 @@ enum options_mysqld OPT_SKIP_PRIOR, OPT_SKIP_RESOLVE, OPT_SKIP_STACK_TRACE, - OPT_WITH_STAT_TABLES, OPT_SKIP_SYMLINKS, OPT_SLOW_QUERY_LOG, OPT_SSL_CA, |