mirror of
https://github.com/MariaDB/server.git
synced 2025-11-10 23:02:54 +03:00
Merge c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new
into c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug18750
This commit is contained in:
@@ -839,6 +839,23 @@ SHOW TABLE STATUS;
|
||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||
t1 MyISAM 10 Dynamic 0 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL partitioned
|
||||
DROP TABLE t1;
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `s1 s2` values in (0));
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `7` values in (0));
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `s1 s2 ` values in (0));
|
||||
ERROR HY000: Incorrect partition name
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
subpartition by hash (a)
|
||||
(partition p1 values in (0) (subpartition `p1 p2 `));
|
||||
ERROR HY000: Incorrect partition name
|
||||
CREATE TABLE t1 (a int)
|
||||
PARTITION BY LIST (a)
|
||||
(PARTITION p0 VALUES IN (NULL));
|
||||
|
||||
@@ -956,6 +956,30 @@ PARTITION p2 VALUES LESS THAN (30) ENGINE = MyISAM);
|
||||
SHOW TABLE STATUS;
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
#BUG 18750 Problems with partition names
|
||||
#
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `s1 s2` values in (0));
|
||||
drop table t1;
|
||||
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `7` values in (0));
|
||||
drop table t1;
|
||||
|
||||
--error ER_WRONG_PARTITION_NAME
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition `s1 s2 ` values in (0));
|
||||
|
||||
--error ER_WRONG_PARTITION_NAME
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
subpartition by hash (a)
|
||||
(partition p1 values in (0) (subpartition `p1 p2 `));
|
||||
|
||||
#
|
||||
# BUG 18752 SHOW CREATE TABLE doesn't show NULL value in SHOW CREATE TABLE
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user