mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Handle default engine type better for
partitioned tables mysql-test/r/partition.result: New test cases for SHOW CREATE TABLE mysql-test/r/partition_range.result: New test cases for SHOW CREATE TABLE mysql-test/t/partition.test: New test cases for SHOW CREATE TABLE mysql-test/t/partition_range.test: New test cases for SHOW CREATE TABLE sql/handler.h: Handle default engine type better sql/sql_partition.cc: Handle default engine type better sql/sql_show.cc: Handle default engine type better sql/sql_table.cc: Handle default engine type better sql/sql_yacc.yy: Handle default engine type better sql/table.cc: Handle default engine type better sql/unireg.cc: Handle default engine type better
This commit is contained in:
parent
8204f69067
commit
11c503567f
11 changed files with 90 additions and 24 deletions
|
|
@ -30,6 +30,7 @@ INSERT into t1 values (10, 1, 1);
|
|||
INSERT into t1 values (15, 1, 1);
|
||||
|
||||
select * from t1;
|
||||
show create table t1;
|
||||
|
||||
ALTER TABLE t1
|
||||
partition by range (a)
|
||||
|
|
@ -39,6 +40,7 @@ partitions 3
|
|||
partition x3 values less than maxvalue tablespace ts3);
|
||||
|
||||
select * from t1;
|
||||
show create table t1;
|
||||
|
||||
drop table if exists t1;
|
||||
|
||||
|
|
@ -143,6 +145,10 @@ subpartition by hash (a+b)
|
|||
);
|
||||
|
||||
SELECT * from t1;
|
||||
show create table t1;
|
||||
|
||||
ALTER TABLE t1 ADD COLUMN d int;
|
||||
show create table t1;
|
||||
|
||||
drop table t1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue