summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_pruning.result
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-02-02 13:07:53 +0200
committerMonty <monty@mariadb.org>2016-02-02 13:07:53 +0200
commit11c2d3c3e21642107db625f33c177f09d8ccd3ca (patch)
tree086455d9163bae04ea602247aaa710204b48b4e9 /mysql-test/r/partition_pruning.result
parent52d695fef4f959daf12cc1e4b83907917dddfbe8 (diff)
parent5cf293fcad0dd78c4e1a797ed1f68fb2cf165b14 (diff)
downloadmariadb-git-11c2d3c3e21642107db625f33c177f09d8ccd3ca.tar.gz
Merge branch '10.0' into 10.1
Conflicts: configure.cmake
Diffstat (limited to 'mysql-test/r/partition_pruning.result')
-rw-r--r--mysql-test/r/partition_pruning.result18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/r/partition_pruning.result b/mysql-test/r/partition_pruning.result
index c6d7c383ce7..fe19473f8e4 100644
--- a/mysql-test/r/partition_pruning.result
+++ b/mysql-test/r/partition_pruning.result
@@ -3466,3 +3466,21 @@ id select_type table partitions type possible_keys key key_len ref rows Extra
1 PRIMARY t2 p_1000 ref PRIMARY PRIMARY 8 const 2 Using index
1 PRIMARY t1 p_1000 ALL PRIMARY NULL NULL NULL 6 Using where; Using join buffer (flat, BNL join)
drop table t1,t2;
+#
+# MDEV-9505: Valgrind failure in SEL_ARG::store_min,find_used_partitions,...
+#
+create table t1 (a int, b char(10), c varchar(5), d int)
+partition by range columns(a,b,c)
+subpartition by key (c,d)
+subpartitions 3
+( partition p0 values less than (1,'abc','abc'),
+partition p1 values less than (2,'abc','abc'),
+partition p2 values less than (3,'abc','abc'),
+partition p3 values less than (4,'abc','abc')
+);
+insert into t1 values (1,'a','b',1),(2,'a','b',2),(3,'a','b',3);
+select * from t1 where (a = 1 AND b < 'd' AND (c = 'b' OR (c = 'c' AND d = 1)) OR
+(a = 1 AND b >= 'a' AND (c = 'c' OR (c = 'd' AND d = 2))));
+a b c d
+1 a b 1
+drop table t1;