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 /mysql-test/t/stat_tables.test | |
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 'mysql-test/t/stat_tables.test')
-rw-r--r-- | mysql-test/t/stat_tables.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/stat_tables.test b/mysql-test/t/stat_tables.test index d85c93b6732..640f9febc75 100644 --- a/mysql-test/t/stat_tables.test +++ b/mysql-test/t/stat_tables.test @@ -1,8 +1,8 @@ --source include/have_stat_tables.inc -set @save_optimizer_use_stat_tables=@@optimizer_use_stat_tables; +set @save_use_stat_tables=@@use_stat_tables; -set optimizer_use_stat_tables='preferably'; +set use_stat_tables='preferably'; --disable_warnings DROP DATABASE IF EXISTS dbt3_s001; @@ -149,4 +149,4 @@ DROP DATABASE dbt3_s001; use test; -set optimizer_use_stat_tables=@save_optimizer_use_stat_tables; +set use_stat_tables=@save_use_stat_tables; |