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:
@ -2,24 +2,24 @@ drop table if exists t1;
|
||||
create table t1 (a varchar(5))
|
||||
engine=memory
|
||||
partition by range column_list(a)
|
||||
( partition p0 values less than (column_list('m')),
|
||||
partition p1 values less than (column_list('za')));
|
||||
( partition p0 values less than ('m'),
|
||||
partition p1 values less than ('za'));
|
||||
insert into t1 values ('j');
|
||||
update t1 set a = 'z' where (a >= 'j');
|
||||
drop table t1;
|
||||
create table t1 (a varchar(5))
|
||||
engine=myisam
|
||||
partition by range column_list(a)
|
||||
( partition p0 values less than (column_list('m')),
|
||||
partition p1 values less than (column_list('za')));
|
||||
( partition p0 values less than ('m'),
|
||||
partition p1 values less than ('za'));
|
||||
insert into t1 values ('j');
|
||||
update t1 set a = 'z' where (a >= 'j');
|
||||
drop table t1;
|
||||
create table t1 (a varchar(5))
|
||||
engine=innodb
|
||||
partition by range column_list(a)
|
||||
( partition p0 values less than (column_list('m')),
|
||||
partition p1 values less than (column_list('za')));
|
||||
( partition p0 values less than ('m'),
|
||||
partition p1 values less than ('za'));
|
||||
insert into t1 values ('j');
|
||||
update t1 set a = 'z' where (a >= 'j');
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user