summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_innodb.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2010-10-15 20:44:55 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2010-10-15 20:44:55 +0500
commitc8adfa3366c7bae6625903b24f576b5582c3c0bc (patch)
tree6543feaafe75c27e557583e4ffc185ff40644ef0 /mysql-test/t/partition_innodb.test
parent50fcba46f464c55859d305c2f26764386fe6076c (diff)
parent5f06f44f8b80ac5b1c4b33f791e8d09d78c3c38c (diff)
downloadmariadb-git-c8adfa3366c7bae6625903b24f576b5582c3c0bc.tar.gz
merging.
Diffstat (limited to 'mysql-test/t/partition_innodb.test')
-rw-r--r--mysql-test/t/partition_innodb.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test
index 2ce7e89f9f2..21769a8b944 100644
--- a/mysql-test/t/partition_innodb.test
+++ b/mysql-test/t/partition_innodb.test
@@ -577,6 +577,19 @@ connection default;
SELECT * FROM t1;
COMMIT;
DROP TABLE t1;
+
+#
+# Bug #55146 Assertion `m_part_spec.start_part == m_part_spec.end_part' in index_read_idx_map
+#
+
+CREATE TABLE t1 (i1 int NOT NULL primary key, f1 int) ENGINE = InnoDB
+ PARTITION BY HASH(i1) PARTITIONS 2;
+
+INSERT INTO t1 VALUES (1,1), (2,2);
+
+SELECT * FROM t1 WHERE i1 = ( SELECT i1 FROM t1 WHERE f1=0 LIMIT 1 );
+DROP TABLE t1;
+
--enable_parsing
--echo #