diff options
author | sergefp@newbox.mylan <> | 2006-07-30 00:02:42 +0400 |
---|---|---|
committer | sergefp@newbox.mylan <> | 2006-07-30 00:02:42 +0400 |
commit | ee3c1deed4ccaf12ad68379ac86d94bbfc4d4af6 (patch) | |
tree | 90debf54a344d1565ed02e6ecaa02d73b0acb757 /mysql-test/t/partition_pruning.test | |
parent | e7db9d454537e9d6fa94b57070995cd9b8022190 (diff) | |
parent | cbd57af8ed17d75f9551da476c7ab5625e7a5f7d (diff) | |
download | mariadb-git-ee3c1deed4ccaf12ad68379ac86d94bbfc4d4af6.tar.gz |
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into mysql.com:/home/psergey/mysql-5.1-bug14940-r4
Diffstat (limited to 'mysql-test/t/partition_pruning.test')
-rw-r--r-- | mysql-test/t/partition_pruning.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/partition_pruning.test b/mysql-test/t/partition_pruning.test index 752ba8875c2..5fff2dd49ea 100644 --- a/mysql-test/t/partition_pruning.test +++ b/mysql-test/t/partition_pruning.test @@ -407,13 +407,29 @@ explain partitions select * from t2 where a = 833; explain partitions select * from t2 where (a = 100 OR a = 900); explain partitions select * from t2 where (a > 100 AND a < 600); explain partitions select * from t2 where b = 4; + +explain extended select * from t2 where b = 6; explain partitions select * from t2 where b = 6; + +explain extended select * from t2 where b in (1,3,5); explain partitions select * from t2 where b in (1,3,5); + +explain extended select * from t2 where b in (2,4,6); explain partitions select * from t2 where b in (2,4,6); + +explain extended select * from t2 where b in (7,8,9); explain partitions select * from t2 where b in (7,8,9); + +explain extended select * from t2 where b > 5; explain partitions select * from t2 where b > 5; + +explain extended select * from t2 where b > 5 and b < 8; explain partitions select * from t2 where b > 5 and b < 8; + +explain extended select * from t2 where b > 5 and b < 7; explain partitions select * from t2 where b > 5 and b < 7; + +explain extended select * from t2 where b > 0 and b < 5; explain partitions select * from t2 where b > 0 and b < 5; flush status; |