mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
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
This commit is contained in:
parent
dd6fd68f93
commit
aaca72b463
2 changed files with 20 additions and 38 deletions
|
@ -2048,23 +2048,4 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM
|
|||
PARTITION BY HASH(id) PARTITIONS 2;
|
||||
DROP TABLE t1;
|
||||
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
|
||||
|
|
|
@ -2039,23 +2039,24 @@ CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM
|
|||
DROP TABLE t1;
|
||||
SET SESSION SQL_MODE=DEFAULT;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # BUG#45816 - assertion failure with index containing double
|
||||
--echo # column on partitioned table
|
||||
--echo #
|
||||
|
||||
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;
|
||||
|
||||
DROP TABLE t1;
|
||||
# This testcase is commented due to the Bug #46853
|
||||
# Should be uncommented after fixing Bug #46853
|
||||
#--echo #
|
||||
#--echo # BUG#45816 - assertion failure with index containing double
|
||||
#--echo # column on partitioned table
|
||||
#--echo #
|
||||
#
|
||||
#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;
|
||||
#
|
||||
#DROP TABLE t1;
|
||||
--echo End of 5.1 tests
|
||||
|
|
Loading…
Reference in a new issue