mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed removal of column_list keyword for VALUES part, retained for PARTITION BY RANGE/LIST COLUMN_LIST, not entirely working yet
This commit is contained in:
@ -78,12 +78,12 @@ partition by range column_list(a,b)
|
||||
ERROR 42000: Inconsistency in usage of column lists for partitioning near '))' at line 3
|
||||
create table t1 (a int, b char(20))
|
||||
partition by range(a)
|
||||
(partition p0 values less than (column_list(1,"b")));
|
||||
ERROR HY000: Inconsistency in usage of column lists for partitioning
|
||||
(partition p0 values less than (1,"b"));
|
||||
ERROR HY000: Cannot have more than one value for this type of RANGE partitioning
|
||||
create table t1 (a int, b char(20))
|
||||
partition by range(a)
|
||||
(partition p0 values less than (column_list(1,"b")));
|
||||
ERROR HY000: Inconsistency in usage of column lists for partitioning
|
||||
(partition p0 values less than (1,"b"));
|
||||
ERROR HY000: Cannot have more than one value for this type of RANGE partitioning
|
||||
create table t1 (a int, b char(20));
|
||||
create global index inx on t1 (a,b)
|
||||
partition by range (a)
|
||||
@ -91,7 +91,7 @@ partition by range (a)
|
||||
drop table t1;
|
||||
create table t1 (a int, b char(20))
|
||||
partition by range column_list(b)
|
||||
(partition p0 values less than (column_list("b")));
|
||||
(partition p0 values less than ("b"));
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by range (a)
|
||||
|
Reference in New Issue
Block a user