mirror of
https://github.com/MariaDB/server.git
synced 2025-05-13 01:01:44 +03:00
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-bug29368
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-lastfinaltopush mysql-test/r/partition.result: Auto merged
This commit is contained in:
commit
c04eeac1cf
@ -715,7 +715,7 @@ partition by range (a)
|
||||
alter table t1 add partition (partition p1 values in (2));
|
||||
ERROR HY000: Only LIST PARTITIONING can use VALUES IN in partition definition
|
||||
alter table t1 add partition (partition p1);
|
||||
ERROR HY000: RANGE PARTITIONING requires definition of VALUES LESS THAN for each partition
|
||||
ERROR HY000: Syntax error: RANGE PARTITIONING requires definition of VALUES LESS THAN for each partition
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
@ -723,7 +723,7 @@ partition by list (a)
|
||||
alter table t1 add partition (partition p1 values less than (2));
|
||||
ERROR HY000: Only RANGE PARTITIONING can use VALUES LESS THAN in partition definition
|
||||
alter table t1 add partition (partition p1);
|
||||
ERROR HY000: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
ERROR HY000: Syntax error: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by hash (a)
|
||||
|
@ -1,4 +1,13 @@
|
||||
drop table if exists t1;
|
||||
CREATE TABLE t1 (
|
||||
a int
|
||||
)
|
||||
PARTITION BY RANGE (a)
|
||||
(
|
||||
PARTITION p0 VALUES LESS THAN (1),
|
||||
PARTITION p1 VALU ES LESS THAN (2)
|
||||
);
|
||||
ERROR HY000: Syntax error: RANGE PARTITIONING requires definition of VALUES LESS THAN for each partition
|
||||
partition by list (a)
|
||||
partitions 3
|
||||
(partition x1 values in (1,2,9,4) tablespace ts1,
|
||||
@ -351,7 +360,7 @@ partition by range (a)
|
||||
partitions 2
|
||||
(partition x1 values less than (4),
|
||||
partition x2);
|
||||
ERROR HY000: RANGE PARTITIONING requires definition of VALUES LESS THAN for each partition
|
||||
ERROR HY000: Syntax error: RANGE PARTITIONING requires definition of VALUES LESS THAN for each partition
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
@ -531,7 +540,7 @@ partition by list (a)
|
||||
partitions 2
|
||||
(partition x1 values in (4),
|
||||
partition x2);
|
||||
ERROR HY000: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
ERROR HY000: Syntax error: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
@ -551,7 +560,7 @@ partition by list (a)
|
||||
partitions 2
|
||||
(partition x1 values in (4,6),
|
||||
partition x2);
|
||||
ERROR HY000: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
ERROR HY000: Syntax error: LIST PARTITIONING requires definition of VALUES IN for each partition
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
|
@ -8,6 +8,19 @@
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
#
|
||||
# Bug 29368:
|
||||
# Incorrect error, 1467, for syntax error when creating partition
|
||||
--error ER_PARTITION_REQUIRES_VALUES_ERROR
|
||||
CREATE TABLE t1 (
|
||||
a int
|
||||
)
|
||||
PARTITION BY RANGE (a)
|
||||
(
|
||||
PARTITION p0 VALUES LESS THAN (1),
|
||||
PARTITION p1 VALU ES LESS THAN (2)
|
||||
);
|
||||
|
||||
#
|
||||
# Partition by key stand-alone error
|
||||
#
|
||||
|
@ -5667,9 +5667,9 @@ ER_ILLEGAL_HA_CREATE_OPTION
|
||||
eng "Table storage engine '%-.64s' does not support the create option '%.64s'"
|
||||
ger "Speicher-Engine '%-.64s' der Tabelle unterstützt die Option '%.64s' nicht"
|
||||
ER_PARTITION_REQUIRES_VALUES_ERROR
|
||||
eng "%-.64s PARTITIONING requires definition of VALUES %-.64s for each partition"
|
||||
ger "%-.64s-PARTITIONierung erfordert Definition von VALUES %-.64s für jede Partition"
|
||||
swe "%-.64s PARTITIONering kräver definition av VALUES %-.64s för varje partition"
|
||||
eng "Syntax error: %-.64s PARTITIONING requires definition of VALUES %-.64s for each partition"
|
||||
ger "Fehler in der SQL-Syntax: %-.64s-PARTITIONierung erfordert Definition von VALUES %-.64s für jede Partition"
|
||||
swe "Syntaxfel: %-.64s PARTITIONering kräver definition av VALUES %-.64s för varje partition"
|
||||
ER_PARTITION_WRONG_VALUES_ERROR
|
||||
eng "Only %-.64s PARTITIONING can use VALUES %-.64s in partition definition"
|
||||
ger "Nur %-.64s-PARTITIONierung kann VALUES %-.64s in der Partitionsdefinition verwenden"
|
||||
|
Loading…
x
Reference in New Issue
Block a user