Commit 412c6c4b authored by Magne Mahre's avatar Magne Mahre

Disable the testcase for BUG#45816 in partition.test in mysql-pe

branch due to BUG#46853
      
Commented out the testcase for Bug#45816 in mysql-pe branch
due to valgrind warnings. Please see Bug#46853
parent 4a70a6dc
...@@ -2048,23 +2048,4 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM ...@@ -2048,23 +2048,4 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM
PARTITION BY HASH(id) PARTITIONS 2; PARTITION BY HASH(id) PARTITIONS 2;
DROP TABLE t1; DROP TABLE t1;
SET SESSION SQL_MODE=DEFAULT; SET SESSION SQL_MODE=DEFAULT;
#
# BUG#45816 - assertion failure with index containing double
# column on partitioned table
#
CREATE TABLE t1 (
a INT DEFAULT NULL,
b DOUBLE DEFAULT NULL,
c INT DEFAULT NULL,
KEY idx2(b,a)
) 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) FOR UPDATE;
1
1
1
1
1
DROP TABLE t1;
End of 5.1 tests End of 5.1 tests
...@@ -2039,23 +2039,24 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM ...@@ -2039,23 +2039,24 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM
DROP TABLE t1; DROP TABLE t1;
SET SESSION SQL_MODE=DEFAULT; SET SESSION SQL_MODE=DEFAULT;
# This testcase is commented due to the Bug #46853
--echo # # Should be uncommented after fixing Bug #46853
--echo # BUG#45816 - assertion failure with index containing double #--echo #
--echo # column on partitioned table #--echo # BUG#45816 - assertion failure with index containing double
--echo # #--echo # column on partitioned table
#--echo #
CREATE TABLE t1 ( #
a INT DEFAULT NULL, #CREATE TABLE t1 (
b DOUBLE DEFAULT NULL, # a INT DEFAULT NULL,
c INT DEFAULT NULL, # b DOUBLE DEFAULT NULL,
KEY idx2(b,a) # c INT DEFAULT NULL,
) PARTITION BY HASH(c) PARTITIONS 3; # KEY idx2(b,a)
#) PARTITION BY HASH(c) PARTITIONS 3;
INSERT INTO t1 VALUES (6,8,9); #
INSERT INTO t1 VALUES (6,8,10); #INSERT INTO t1 VALUES (6,8,9);
#INSERT INTO t1 VALUES (6,8,10);
SELECT 1 FROM t1 JOIN t1 AS t2 USING (a) FOR UPDATE; #
#SELECT 1 FROM t1 JOIN t1 AS t2 USING (a) FOR UPDATE;
DROP TABLE t1; #
#DROP TABLE t1;
--echo End of 5.1 tests --echo End of 5.1 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment