summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_innodb.test
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-12 14:26:09 +0400
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-12 14:26:09 +0400
commitf6e05571ebfa4726c631bc469ceb8882842e5de4 (patch)
tree834c9bc737575d4511f37a2a9d18b4908d00a3ba /mysql-test/t/partition_innodb.test
parent04a5618d13f330668164abc072b262776a564462 (diff)
downloadmariadb-git-f6e05571ebfa4726c631bc469ceb8882842e5de4.tar.gz
'no innodb engine' test failure fixed
mysql-test/r/partition.result: test result fixed mysql-test/r/partition_innodb.result: test result fixed mysql-test/t/partition.test: test moved to partition_innodb mysql-test/t/partition_innodb.test: test moved from partition.test
Diffstat (limited to 'mysql-test/t/partition_innodb.test')
-rw-r--r--mysql-test/t/partition_innodb.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test
index 4a50332b3df..0f20b34c7dc 100644
--- a/mysql-test/t/partition_innodb.test
+++ b/mysql-test/t/partition_innodb.test
@@ -142,3 +142,14 @@ PARTITION BY KEY(a) PARTITIONS 10;
INSERT INTO t1 VALUES(1),(2);
SELECT COUNT(*) FROM t1;
DROP TABLE t1;
+
+#
+# Bug #31893 Partitions: crash if subpartitions and engine change
+#
+create table t1 (int_column int, char_column char(5))
+ PARTITION BY RANGE (int_column) subpartition by key (char_column)
+ (PARTITION p1 VALUES LESS THAN (5) ENGINE = InnoDB);
+alter table t1 PARTITION BY RANGE (int_column) subpartition by key (char_column)
+ (PARTITION p1 VALUES LESS THAN (5) ENGINE = myisam);
+show create table t1;
+drop table t1;