diff options
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r-- | mysql-test/t/partition.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index e5861322213..3224f4d4081 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -2401,3 +2401,20 @@ SELECT * FROM t1_part; # Cleanup DROP VIEW v1; DROP TABLE t1_part; + +--echo # +--echo # BUG#598247: partition.test produces valgrind errors in 5.3-based branches +--echo # +CREATE TABLE t1 ( + a INT DEFAULT NULL, + b DOUBLE DEFAULT NULL, + c INT DEFAULT NULL, + KEY idx2(b,a) +) engine=myisam PARTITION BY HASH(c) PARTITIONS 3; + +INSERT INTO t1 VALUES (6,8,9); +INSERT INTO t1 VALUES (6,8,10); + +SELECT 1 FROM t1 JOIN t1 AS t2 USING (a); + +drop table t1; |