diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-12-06 15:08:42 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-12-06 15:08:42 +0100 |
commit | 6491c591b26b61a99fd4279d65b93d277083c4c7 (patch) | |
tree | 9a51f59c7bc9b95c04ab6446d012959cb50a1f3d /mysql-test/t | |
parent | 328d7779bc1e5b88b7f72dde8465d0c58f38f42c (diff) | |
parent | daca7e70d70cfc59b4139239bbd09b7c63912be9 (diff) | |
download | mariadb-git-6491c591b26b61a99fd4279d65b93d277083c4c7.tar.gz |
Merge branch '10.0' into 10.1
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/stat_tables.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/stat_tables.test b/mysql-test/t/stat_tables.test index 85a10987300..b89ab2bbd2d 100644 --- a/mysql-test/t/stat_tables.test +++ b/mysql-test/t/stat_tables.test @@ -370,6 +370,23 @@ set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectiv set use_stat_tables=@save_use_stat_tables; --echo # +--echo # MDEV-17734: AddressSanitizer: use-after-poison in create_key_parts_for_pseudo_indexes +--echo # + +set @@use_stat_tables= PREFERABLY; +set @save_optimizer_use_condition_selectivity= @@optimizer_use_condition_selectivity; +set @@optimizer_use_condition_selectivity=4; +set @save_use_stat_tables= @@use_stat_tables; +create table t1 (a int, b int); +insert into t1(a,b) values (1,2),(1,3),(1,4),(1,5),(2,6),(2,7),(3,8),(3,9),(3,9),(4,10); + +analyze table t1 persistent for columns (a) indexes (); +select * from t1 where a=1 and b=3; +set @@optimizer_use_condition_selectivity= @save_optimizer_use_condition_selectivity; +set use_stat_tables=@save_use_stat_tables; +drop table t1; + +--echo # --echo # MDEV-16711:CREATE OR REPLACE TABLE introducing BLOB column --echo # |