diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2016-03-17 15:12:57 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2016-03-21 11:48:04 +0100 |
commit | e8af217e16837000b8a3809e9fa48a5e75088cd0 (patch) | |
tree | 6077f93d8334b027c46f0967ad7ffa73eae24a89 /mysql-test/t/statistics.test | |
parent | 94768542115289272996f6450b7d3cafa75dcead (diff) | |
download | mariadb-git-e8af217e16837000b8a3809e9fa48a5e75088cd0.tar.gz |
MDEV-9590: Always print "Engine-independent statistic" warnings and might be filtering columns unintentionally from engines
Do not issue the warning in case we are not going to collect the statistics.
Diffstat (limited to 'mysql-test/t/statistics.test')
-rw-r--r-- | mysql-test/t/statistics.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/statistics.test b/mysql-test/t/statistics.test index 3b57b8f2c52..805c169b2a4 100644 --- a/mysql-test/t/statistics.test +++ b/mysql-test/t/statistics.test @@ -728,3 +728,16 @@ select db_name, table_name, column_name, FROM mysql.column_stats; drop table t1; + +--echo # +--echo # MDEV-9590: Always print "Engine-independent statistic" warnings and +--echo # might be filtering columns unintentionally from engines +--echo # + +set use_stat_tables='NEVER'; +create table t1 (test blob); +show variables like 'use_stat_tables'; +analyze table t1; +drop table t1; + +set use_stat_tables=@save_use_stat_tables; |