diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-03-17 13:08:06 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-03-21 11:43:19 +0100 |
commit | 7baff9f68763d737c5eb612e455861a1cd05349f (patch) | |
tree | 66c82b4b1517fc4ef9129f83ea974302e43454f3 /mysql-test/suite/archive | |
parent | 8b9432ffacd6843c4b61192866f2d81aa1cad346 (diff) | |
download | mariadb-git-7baff9f68763d737c5eb612e455861a1cd05349f.tar.gz |
fix extension_based_table_discovery for partitioned tables
typo. the code was not matching the comment
Diffstat (limited to 'mysql-test/suite/archive')
-rw-r--r-- | mysql-test/suite/archive/partition_archive.result | 6 | ||||
-rw-r--r-- | mysql-test/suite/archive/partition_archive.test | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/suite/archive/partition_archive.result b/mysql-test/suite/archive/partition_archive.result index eb1fca46522..c4cccc03a04 100644 --- a/mysql-test/suite/archive/partition_archive.result +++ b/mysql-test/suite/archive/partition_archive.result @@ -153,3 +153,9 @@ t1 CREATE TABLE `t1` ( PARTITIONS 5 */ #Cleanup. DROP TABLE t1; +create database mysqltest1; +create table mysqltest1.t1 (a int not null, b int not null) engine=archive +partition by list(a) subpartition by hash(b) +(partition p1 values in (1), +partition p2 values in (2)); +drop database mysqltest1; diff --git a/mysql-test/suite/archive/partition_archive.test b/mysql-test/suite/archive/partition_archive.test index 899f266c09c..aa2adb7e44d 100644 --- a/mysql-test/suite/archive/partition_archive.test +++ b/mysql-test/suite/archive/partition_archive.test @@ -147,3 +147,10 @@ SHOW CREATE TABLE t1; --echo #Cleanup. DROP TABLE t1; + +create database mysqltest1; +create table mysqltest1.t1 (a int not null, b int not null) engine=archive + partition by list(a) subpartition by hash(b) + (partition p1 values in (1), + partition p2 values in (2)); +drop database mysqltest1; |