[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.119.113.73: ~ $
-------------------------------------------------------------------------
---   All SQL functions should be rejected, otherwise BUG (see 18198)
-------------------------------------------------------------------------
-------------------------------------------------------------------------
---  ascii(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(ascii(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(ascii(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(ascii(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(ascii(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(ascii(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (ascii('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(ascii(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(ascii(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(ascii(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(ascii(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(ascii(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (ascii('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  ord(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(ord(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(ord(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(ord(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(ord(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(ord(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (ord('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(ord(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(ord(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(ord(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(ord(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(ord(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (ord('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  greatest(col1,15)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(greatest(col1,15)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(greatest(col1,15)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(greatest(col1,15));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(greatest(col1,15)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(greatest(col1,15)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (greatest(1,15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(greatest(col1,15)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(greatest(col1,15)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(greatest(col1,15));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(greatest(col1,15)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(greatest(col1,15)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (greatest(1,15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  isnull(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(isnull(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(isnull(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(isnull(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(isnull(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(isnull(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (isnull(15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(isnull(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(isnull(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(isnull(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(isnull(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(isnull(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (isnull(15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  least(col1,15)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(least(col1,15)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(least(col1,15)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(least(col1,15));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(least(col1,15)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(least(col1,15)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (least(15,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(least(col1,15)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(least(col1,15)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(least(col1,15));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(least(col1,15)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(least(col1,15)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (least(15,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  case when col1>15 then 20 else 10 end  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(case when col1>15 then 20 else 10 end) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(case when col1>15 then 20 else 10 end) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(case when col1>15 then 20 else 10 end);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(case when col1>15 then 20 else 10 end) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(case when col1>15 then 20 else 10 end) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (case when 1>30 then 20 else 15 end),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(case when col1>15 then 20 else 10 end) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(case when col1>15 then 20 else 10 end) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(case when col1>15 then 20 else 10 end);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(case when col1>15 then 20 else 10 end) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(case when col1>15 then 20 else 10 end) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (case when 1>30 then 20 else 15 end),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  ifnull(col1,30)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(ifnull(col1,30)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(ifnull(col1,30)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(ifnull(col1,30));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(ifnull(col1,30)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(ifnull(col1,30)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (ifnull(1,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(ifnull(col1,30)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(ifnull(col1,30)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(ifnull(col1,30));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(ifnull(col1,30)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(ifnull(col1,30)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (ifnull(1,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  nullif(col1,30)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(nullif(col1,30)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(nullif(col1,30)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(nullif(col1,30));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(nullif(col1,30)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(nullif(col1,30)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (nullif(1,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(nullif(col1,30)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(nullif(col1,30)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(nullif(col1,30));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(nullif(col1,30)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(nullif(col1,30)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (nullif(1,30)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  bit_length(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(bit_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(bit_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(bit_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (bit_length(255)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(bit_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(bit_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(bit_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (bit_length(255)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  bit_length(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(bit_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(bit_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(bit_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (bit_length(255)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(bit_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(bit_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(bit_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(bit_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (bit_length(255)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  char_length(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(char_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(char_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(char_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(char_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(char_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (char_length('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(char_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(char_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(char_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(char_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(char_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (char_length('a')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  character_length(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(character_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(character_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(character_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (find_in_set('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(character_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(character_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(character_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (find_in_set('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  character_length(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(character_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(character_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(character_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (find_in_set('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(character_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(character_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(character_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(character_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (find_in_set('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  instr(col1,'acb')  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(instr(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(instr(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(instr(col1,'acb'));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (instr('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(instr(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(instr(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(instr(col1,'acb'));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (instr('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  instr(col1,'acb')  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(instr(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(instr(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(instr(col1,'acb'));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (instr('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(instr(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(instr(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(instr(col1,'acb'));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(instr(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (instr('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  length(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(length(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (length('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (length('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  locate('a',col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(locate('a',col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(locate('a',col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(locate('a',col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (locate('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(locate('a',col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(locate('a',col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(locate('a',col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (locate('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  locate('a',col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(locate('a',col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(locate('a',col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(locate('a',col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (locate('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(locate('a',col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(locate('a',col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(locate('a',col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(locate('a',col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (locate('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  octet_length(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(octet_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(octet_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(octet_length(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(octet_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(octet_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (octet_length('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(octet_length(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(octet_length(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(octet_length(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(octet_length(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(octet_length(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (octet_length('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  position('a' in col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(position('a' in col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(position('a' in col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(position('a' in col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (position('i' in 'a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(position('a' in col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(position('a' in col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(position('a' in col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (position('i' in 'a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  position('a' in col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(position('a' in col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(position('a' in col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(position('a' in col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (position('i' in 'a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(position('a' in col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(position('a' in col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(position('a' in col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(position('a' in col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (position('i' in 'a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  strcmp(col1,'acb')  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(strcmp(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(strcmp(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(strcmp(col1,'acb'));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (strcmp('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(strcmp(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(strcmp(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(strcmp(col1,'acb'));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (strcmp('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  strcmp(col1,'acb')  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(strcmp(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(strcmp(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(strcmp(col1,'acb'));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (strcmp('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(strcmp(col1,'acb')) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(strcmp(col1,'acb')) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(strcmp(col1,'acb'));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(strcmp(col1,'acb')) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (strcmp('i','a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  crc32(col1)  in partition with coltype  char(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 char(30)) engine='MYISAM' 
partition by range(crc32(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 char(30)) engine='MYISAM' 
partition by list(crc32(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 char(30)) engine='MYISAM' 
partition by hash(crc32(col1));
Got one of the listed errors
create table t4 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(crc32(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 char(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(crc32(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 char(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (crc32('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 char(30)) engine='MYISAM' ;
create table t22 (col1 char(30)) engine='MYISAM' ;
create table t33 (col1 char(30)) engine='MYISAM' ;
create table t44 (colint int, col1 char(30)) engine='MYISAM' ;
create table t55 (colint int, col1 char(30)) engine='MYISAM' ;
create table t66 (colint int, col1 char(30)) engine='MYISAM' ;
alter table t11  
partition by range(crc32(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(crc32(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(crc32(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(crc32(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(crc32(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (crc32('a,b,c,d,e,f,g,h,i')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  round(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(round(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(round(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(round(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(round(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(round(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (round(15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(round(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(round(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(round(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(round(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(round(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (round(15)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  sign(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(sign(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(sign(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(sign(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(sign(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(sign(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (sign(123)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(sign(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(sign(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(sign(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(sign(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(sign(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (sign(123)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  period_add(col1,5)  in partition with coltype  datetime
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 datetime) engine='MYISAM' 
partition by range(period_add(col1,5)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 datetime) engine='MYISAM' 
partition by list(period_add(col1,5)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 datetime) engine='MYISAM' 
partition by hash(period_add(col1,5));
Got one of the listed errors
create table t4 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(period_add(col1,5)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 datetime) engine='MYISAM' 
partition by list(colint)
subpartition by hash(period_add(col1,5)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (period_add(9804,5)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 datetime) engine='MYISAM' ;
create table t22 (col1 datetime) engine='MYISAM' ;
create table t33 (col1 datetime) engine='MYISAM' ;
create table t44 (colint int, col1 datetime) engine='MYISAM' ;
create table t55 (colint int, col1 datetime) engine='MYISAM' ;
create table t66 (colint int, col1 datetime) engine='MYISAM' ;
alter table t11  
partition by range(period_add(col1,5)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(period_add(col1,5)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(period_add(col1,5));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(period_add(col1,5)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(period_add(col1,5)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (period_add(9804,5)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  period_diff(col1,col2)  in partition with coltype  datetime,col2 datetime
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 datetime,col2 datetime) engine='MYISAM' 
partition by range(period_diff(col1,col2)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 datetime,col2 datetime) engine='MYISAM' 
partition by list(period_diff(col1,col2)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 datetime,col2 datetime) engine='MYISAM' 
partition by hash(period_diff(col1,col2));
Got one of the listed errors
create table t4 (colint int, col1 datetime,col2 datetime) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 datetime,col2 datetime) engine='MYISAM' 
partition by list(colint)
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 datetime,col2 datetime) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (period_diff(9809,199907)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 datetime,col2 datetime) engine='MYISAM' ;
create table t22 (col1 datetime,col2 datetime) engine='MYISAM' ;
create table t33 (col1 datetime,col2 datetime) engine='MYISAM' ;
create table t44 (colint int, col1 datetime,col2 datetime) engine='MYISAM' ;
create table t55 (colint int, col1 datetime,col2 datetime) engine='MYISAM' ;
create table t66 (colint int, col1 datetime,col2 datetime) engine='MYISAM' ;
alter table t11  
partition by range(period_diff(col1,col2)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(period_diff(col1,col2)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(period_diff(col1,col2));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (period_diff(9809,199907)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  period_diff(col1,col2)  in partition with coltype  int,col2 int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int,col2 int) engine='MYISAM' 
partition by range(period_diff(col1,col2)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int,col2 int) engine='MYISAM' 
partition by list(period_diff(col1,col2)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int,col2 int) engine='MYISAM' 
partition by hash(period_diff(col1,col2));
Got one of the listed errors
create table t4 (colint int, col1 int,col2 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int,col2 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int,col2 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (period_diff(9809,199907)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int,col2 int) engine='MYISAM' ;
create table t22 (col1 int,col2 int) engine='MYISAM' ;
create table t33 (col1 int,col2 int) engine='MYISAM' ;
create table t44 (colint int, col1 int,col2 int) engine='MYISAM' ;
create table t55 (colint int, col1 int,col2 int) engine='MYISAM' ;
create table t66 (colint int, col1 int,col2 int) engine='MYISAM' ;
alter table t11  
partition by range(period_diff(col1,col2)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(period_diff(col1,col2)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(period_diff(col1,col2));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(period_diff(col1,col2)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (period_diff(9809,199907)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  timestampdiff(day,5,col1)  in partition with coltype  datetime
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 datetime) engine='MYISAM' 
partition by range(timestampdiff(day,5,col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 datetime) engine='MYISAM' 
partition by list(timestampdiff(day,5,col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 datetime) engine='MYISAM' 
partition by hash(timestampdiff(day,5,col1));
Got one of the listed errors
create table t4 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(timestampdiff(day,5,col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 datetime) engine='MYISAM' 
partition by list(colint)
subpartition by hash(timestampdiff(day,5,col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (timestampdiff(YEAR,'2002-05-01','2001-01-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 datetime) engine='MYISAM' ;
create table t22 (col1 datetime) engine='MYISAM' ;
create table t33 (col1 datetime) engine='MYISAM' ;
create table t44 (colint int, col1 datetime) engine='MYISAM' ;
create table t55 (colint int, col1 datetime) engine='MYISAM' ;
create table t66 (colint int, col1 datetime) engine='MYISAM' ;
alter table t11  
partition by range(timestampdiff(day,5,col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(timestampdiff(day,5,col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(timestampdiff(day,5,col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(timestampdiff(day,5,col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(timestampdiff(day,5,col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (timestampdiff(YEAR,'2002-05-01','2001-01-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  week(col1)  in partition with coltype  datetime
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 datetime) engine='MYISAM' 
partition by range(week(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 datetime) engine='MYISAM' 
partition by list(week(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 datetime) engine='MYISAM' 
partition by hash(week(col1));
Got one of the listed errors
create table t4 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(week(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 datetime) engine='MYISAM' 
partition by list(colint)
subpartition by hash(week(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (week('2002-05-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 datetime) engine='MYISAM' ;
create table t22 (col1 datetime) engine='MYISAM' ;
create table t33 (col1 datetime) engine='MYISAM' ;
create table t44 (colint int, col1 datetime) engine='MYISAM' ;
create table t55 (colint int, col1 datetime) engine='MYISAM' ;
create table t66 (colint int, col1 datetime) engine='MYISAM' ;
alter table t11  
partition by range(week(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(week(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(week(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(week(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(week(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (week('2002-05-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  weekofyear(col1)  in partition with coltype  datetime
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 datetime) engine='MYISAM' 
partition by range(weekofyear(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 datetime) engine='MYISAM' 
partition by list(weekofyear(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 datetime) engine='MYISAM' 
partition by hash(weekofyear(col1));
Got one of the listed errors
create table t4 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(weekofyear(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 datetime) engine='MYISAM' 
partition by list(colint)
subpartition by hash(weekofyear(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 datetime) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (weekofyear('2002-05-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 datetime) engine='MYISAM' ;
create table t22 (col1 datetime) engine='MYISAM' ;
create table t33 (col1 datetime) engine='MYISAM' ;
create table t44 (colint int, col1 datetime) engine='MYISAM' ;
create table t55 (colint int, col1 datetime) engine='MYISAM' ;
create table t66 (colint int, col1 datetime) engine='MYISAM' ;
alter table t11  
partition by range(weekofyear(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(weekofyear(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(weekofyear(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(weekofyear(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(weekofyear(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (weekofyear('2002-05-01')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  cast(col1 as signed)  in partition with coltype  varchar(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 varchar(30)) engine='MYISAM' 
partition by range(cast(col1 as signed)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 varchar(30)) engine='MYISAM' 
partition by list(cast(col1 as signed)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 varchar(30)) engine='MYISAM' 
partition by hash(cast(col1 as signed));
Got one of the listed errors
create table t4 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(cast(col1 as signed)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(cast(col1 as signed)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (cast(123 as signed)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 varchar(30)) engine='MYISAM' ;
create table t22 (col1 varchar(30)) engine='MYISAM' ;
create table t33 (col1 varchar(30)) engine='MYISAM' ;
create table t44 (colint int, col1 varchar(30)) engine='MYISAM' ;
create table t55 (colint int, col1 varchar(30)) engine='MYISAM' ;
create table t66 (colint int, col1 varchar(30)) engine='MYISAM' ;
alter table t11  
partition by range(cast(col1 as signed)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(cast(col1 as signed)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(cast(col1 as signed));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(cast(col1 as signed)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(cast(col1 as signed)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (cast(123 as signed)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  convert(col1,unsigned)  in partition with coltype  varchar(30)
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 varchar(30)) engine='MYISAM' 
partition by range(convert(col1,unsigned)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 varchar(30)) engine='MYISAM' 
partition by list(convert(col1,unsigned)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 varchar(30)) engine='MYISAM' 
partition by hash(convert(col1,unsigned));
Got one of the listed errors
create table t4 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(convert(col1,unsigned)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by list(colint)
subpartition by hash(convert(col1,unsigned)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 varchar(30)) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (convert(123,unsigned)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 varchar(30)) engine='MYISAM' ;
create table t22 (col1 varchar(30)) engine='MYISAM' ;
create table t33 (col1 varchar(30)) engine='MYISAM' ;
create table t44 (colint int, col1 varchar(30)) engine='MYISAM' ;
create table t55 (colint int, col1 varchar(30)) engine='MYISAM' ;
create table t66 (colint int, col1 varchar(30)) engine='MYISAM' ;
alter table t11  
partition by range(convert(col1,unsigned)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(convert(col1,unsigned)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(convert(col1,unsigned));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(convert(col1,unsigned)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(convert(col1,unsigned)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (convert(123,unsigned)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  col1 | 20  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(col1 | 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(col1 | 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(col1 | 20);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(col1 | 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(col1 | 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (10 | 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(col1 | 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(col1 | 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(col1 | 20);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(col1 | 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(col1 | 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (10 | 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  col1 & 20  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(col1 & 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(col1 & 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(col1 & 20);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(col1 & 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(col1 & 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (10 & 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(col1 & 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(col1 & 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(col1 & 20);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(col1 & 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(col1 & 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (10 & 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  col1 ^ 20  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(col1 ^ 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(col1 ^ 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(col1 ^ 20);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(col1 ^ 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(col1 ^ 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (10 ^ 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(col1 ^ 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(col1 ^ 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(col1 ^ 20);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(col1 ^ 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(col1 ^ 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (10 ^ 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  col1 << 20  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(col1 << 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(col1 << 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(col1 << 20);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(col1 << 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(col1 << 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (10 << 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(col1 << 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(col1 << 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(col1 << 20);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(col1 << 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(col1 << 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (10 << 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  col1 >> 20  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(col1 >> 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(col1 >> 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(col1 >> 20);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(col1 >> 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(col1 >> 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (10 >> 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(col1 >> 20) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(col1 >> 20) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(col1 >> 20);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(col1 >> 20) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(col1 >> 20) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (10 >> 20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  ~col1  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(~col1) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(~col1) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(~col1);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(~col1) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(~col1) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (~20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(~col1) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(~col1) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(~col1);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(~col1) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(~col1) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (~20),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  bit_count(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(bit_count(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(bit_count(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(bit_count(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(bit_count(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(bit_count(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (bit_count(20)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(bit_count(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(bit_count(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(bit_count(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(bit_count(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(bit_count(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (bit_count(20)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
-------------------------------------------------------------------------
---  inet_aton(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(inet_aton(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(inet_aton(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(inet_aton(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(inet_aton(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(inet_aton(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (inet_aton('192.168.1.1')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(inet_aton(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(inet_aton(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(inet_aton(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(inet_aton(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(inet_aton(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (inet_aton('192.168.1.1')),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
set @var =20;
-------------------------------------------------------------------------
---  bit_length(col1)+@var-@var  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(bit_length(col1)+@var-@var) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(bit_length(col1)+@var-@var) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(bit_length(col1)+@var-@var);
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(bit_length(col1)+@var-@var) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(bit_length(col1)+@var-@var) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (bit_length(20)+@var-@var),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(bit_length(col1)+@var-@var) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(bit_length(col1)+@var-@var) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(bit_length(col1)+@var-@var);
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(bit_length(col1)+@var-@var) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(bit_length(col1)+@var-@var) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (bit_length(20)+@var-@var),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create function getmaxsigned_t1(col int) returns int
begin
declare done int default 0;
declare v4 int;
declare max int;
declare cur1 cursor for 
select col from t1; 
declare continue handler for sqlstate '01000' set done = 1;
declare continue handler for sqlstate '02000' set done = 1;
open cur1;
set max = 0;
fetch cur1 into v4;
wl_loop: WHILE NOT done DO
fetch cur1 into v4;
IF v4 > max
then set max = v4;
END IF;
END WHILE wl_loop;
close cur1;
return max;
end//
-------------------------------------------------------------------------
---  getmaxsigned_t1(col1)  in partition with coltype  int
-------------------------------------------------------------------------
must all fail!
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
create table t1 (col1 int) engine='MYISAM' 
partition by range(getmaxsigned_t1(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t2 (col1 int) engine='MYISAM' 
partition by list(getmaxsigned_t1(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t3 (col1 int) engine='MYISAM' 
partition by hash(getmaxsigned_t1(col1));
Got one of the listed errors
create table t4 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
subpartition by hash(getmaxsigned_t1(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
create table t5 (colint int, col1 int) engine='MYISAM' 
partition by list(colint)
subpartition by hash(getmaxsigned_t1(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
create table t6 (colint int, col1 int) engine='MYISAM' 
partition by range(colint) 
(partition p0 values less than (getmaxsigned(10)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
create table t11 (col1 int) engine='MYISAM' ;
create table t22 (col1 int) engine='MYISAM' ;
create table t33 (col1 int) engine='MYISAM' ;
create table t44 (colint int, col1 int) engine='MYISAM' ;
create table t55 (colint int, col1 int) engine='MYISAM' ;
create table t66 (colint int, col1 int) engine='MYISAM' ;
alter table t11  
partition by range(getmaxsigned_t1(col1)) 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t22 
partition by list(getmaxsigned_t1(col1)) 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t33 
partition by hash(getmaxsigned_t1(col1));
Got one of the listed errors
alter table t44 
partition by range(colint) 
subpartition by hash(getmaxsigned_t1(col1)) subpartitions 2 
(partition p0 values less than (15),
partition p1 values less than (31));
Got one of the listed errors
alter table t55 
partition by list(colint)
subpartition by hash(getmaxsigned_t1(col1)) subpartitions 2 
(partition p0 values in (1,2,3,4,5,6,7,8,9,10),
partition p1 values in (11,12,13,14,15,16,17,18,19,20),
partition p2 values in (21,22,23,24,25,26,27,28,29,30));
Got one of the listed errors
alter table t66  
partition by range(colint) 
(partition p0 values less than (getmaxsigned(10)),
partition p1 values less than maxvalue);
Got one of the listed errors
drop table if exists t1 ;
drop table if exists t2 ;
drop table if exists t3 ;
drop table if exists t4 ;
drop table if exists t5 ;
drop table if exists t6 ;
drop table if exists t11 ;
drop table if exists t22 ;
drop table if exists t33 ;
drop table if exists t44 ;
drop table if exists t55 ;
drop table if exists t66 ;
drop function if exists getmaxsigned_t1;

Filemanager

Name Type Size Permission Actions
part_blocked_sql_func_innodb.result File 159.68 KB 0644
part_blocked_sql_func_myisam.result File 159.68 KB 0644
part_ctype_utf32.result File 355 B 0644
part_supported_sql_func_innodb.result File 238.66 KB 0644
part_supported_sql_func_myisam.result File 238.66 KB 0644
partition-dml-1-1-innodb-modes.result File 19.2 KB 0644
partition-dml-1-1-innodb.result File 8.38 KB 0644
partition-dml-1-1-myisam-modes.result File 19.2 KB 0644
partition-dml-1-1-myisam.result File 8.38 KB 0644
partition-dml-1-10-innodb.result File 5.37 KB 0644
partition-dml-1-10-myisam.result File 5.29 KB 0644
partition-dml-1-11-innodb.result File 7.08 KB 0644
partition-dml-1-11-myisam.result File 7.08 KB 0644
partition-dml-1-2-innodb.result File 6.11 KB 0644
partition-dml-1-2-myisam.result File 6.11 KB 0644
partition-dml-1-3-innodb.result File 7.27 KB 0644
partition-dml-1-4-innodb.result File 5.5 KB 0644
partition-dml-1-5-innodb.result File 5.52 KB 0644
partition-dml-1-6-innodb.result File 5.52 KB 0644
partition-dml-1-7-innodb.result File 6.96 KB 0644
partition-dml-1-8-innodb.result File 6.94 KB 0644
partition-dml-1-9-innodb.result File 18.38 KB 0644
partition-dml-1-9-myisam.result File 18.38 KB 0644
partition_alter1_1_2_innodb.result File 1020.49 KB 0644
partition_alter1_1_2_myisam.result File 303.96 KB 0644
partition_alter1_1_innodb.result File 596.87 KB 0644
partition_alter1_1_myisam.result File 309.05 KB 0644
partition_alter1_2_innodb.result File 1.26 MB 0644
partition_alter1_2_myisam.result File 539.78 KB 0644
partition_alter2_1_1_innodb.result File 718.67 KB 0644
partition_alter2_1_2_innodb.result File 719.61 KB 0644
partition_alter2_1_myisam.result File 875.52 KB 0644
partition_alter2_2_1_innodb.result File 720.91 KB 0644
partition_alter2_2_2_innodb.result File 725.47 KB 0644
partition_alter2_2_myisam.result File 880.39 KB 0644
partition_alter3_innodb.result File 27.19 KB 0644
partition_alter3_myisam.result File 28.01 KB 0644
partition_alter4_innodb.result File 3.12 MB 0644
partition_alter4_myisam.result File 3.18 MB 0644
partition_auto_increment_archive.result File 21.62 KB 0644
partition_auto_increment_blackhole.result File 24.09 KB 0644
partition_auto_increment_innodb.result File 23.72 KB 0644
partition_auto_increment_memory.result File 23.73 KB 0644
partition_auto_increment_myisam.result File 23.89 KB 0644
partition_basic_innodb.result File 1.11 MB 0644
partition_basic_myisam.result File 566.34 KB 0644
partition_basic_symlink_innodb.result File 4.11 KB 0644
partition_basic_symlink_myisam.result File 753.67 KB 0644
partition_bit_innodb.result File 6.45 KB 0644
partition_bit_myisam.result File 6.45 KB 0644
partition_char_innodb.result File 56.13 KB 0644
partition_char_myisam.result File 56.13 KB 0644
partition_datetime_innodb.result File 37.62 KB 0644
partition_datetime_myisam.result File 37.62 KB 0644
partition_debug.result File 57.71 KB 0644
partition_debug_innodb.result File 243.04 KB 0644
partition_debug_myisam.result File 192.25 KB 0644
partition_debug_sync_innodb.result File 2.56 KB 0644
partition_decimal_innodb.result File 5.53 KB 0644
partition_decimal_myisam.result File 5.54 KB 0644
partition_engine_innodb.result File 182.75 KB 0644
partition_engine_myisam.result File 184.74 KB 0644
partition_exch_innodb.result File 6.52 KB 0644
partition_exch_myisam.result File 6.52 KB 0644
partition_exch_myisam_innodb.result File 484 B 0644
partition_exch_qa.result File 6.52 KB 0644
partition_exch_qa_10.result File 1.67 KB 0644
partition_exch_qa_11.result File 1.36 KB 0644
partition_exch_qa_12.result File 2.4 KB 0644
partition_exch_qa_13.result File 3.87 KB 0644
partition_exch_qa_14.result File 1.32 KB 0644
partition_exch_qa_15.result File 624 B 0644
partition_exch_qa_1_innodb.result File 4.06 KB 0644
partition_exch_qa_1_myisam.result File 4.06 KB 0644
partition_exch_qa_2.result File 3.32 KB 0644
partition_exch_qa_3.result File 644 B 0644
partition_exch_qa_4_innodb.result File 1.48 KB 0644
partition_exch_qa_4_myisam.result File 1.48 KB 0644
partition_exch_qa_5_innodb.result File 3.09 KB 0644
partition_exch_qa_5_myisam.result File 3.09 KB 0644
partition_exch_qa_6.result File 2.93 KB 0644
partition_exch_qa_7_innodb.result File 1.28 KB 0644
partition_exch_qa_7_myisam.result File 1.28 KB 0644
partition_exch_qa_8_innodb.result File 1.88 KB 0644
partition_exch_qa_8_myisam.result File 1.88 KB 0644
partition_exchange_archive.result File 10.41 KB 0644
partition_exchange_blackhole.result File 440 B 0644
partition_exchange_innodb.result File 12.85 KB 0644
partition_exchange_memory.result File 12.85 KB 0644
partition_exchange_myisam.result File 12.85 KB 0644
partition_float_innodb.result File 3.64 KB 0644
partition_float_myisam.result File 3.64 KB 0644
partition_innodb_status_file.result File 439 B 0644
partition_int_innodb.result File 11.66 KB 0644
partition_int_myisam.result File 11.66 KB 0644
partition_max_parts_hash_innodb.result File 1.72 KB 0644
partition_max_parts_hash_myisam.result File 1.72 KB 0644
partition_max_parts_inv_innodb.result File 748.54 KB 0644
partition_max_parts_inv_myisam.result File 748.54 KB 0644
partition_max_parts_key_innodb.result File 1.64 KB 0644
partition_max_parts_key_myisam.result File 1.64 KB 0644
partition_max_parts_list_innodb.result File 413.37 KB 0644
partition_max_parts_list_myisam.result File 413.37 KB 0644
partition_max_parts_range_innodb.result File 335 KB 0644
partition_max_parts_range_myisam.result File 335 KB 0644
partition_max_sub_parts_key_list_innodb.result File 201.48 KB 0644
partition_max_sub_parts_key_list_myisam.result File 201.48 KB 0644
partition_max_sub_parts_key_range_innodb.result File 167.07 KB 0644
partition_max_sub_parts_key_range_myisam.result File 167.07 KB 0644
partition_max_sub_parts_list_innodb.result File 201.46 KB 0644
partition_max_sub_parts_list_myisam.result File 201.46 KB 0644
partition_max_sub_parts_range_innodb.result File 167.04 KB 0644
partition_max_sub_parts_range_myisam.result File 167.04 KB 0644
partition_mgm_lc0_archive.result File 19.6 KB 0644
partition_mgm_lc0_innodb.result File 24.07 KB 0644
partition_mgm_lc0_memory.result File 24.12 KB 0644
partition_mgm_lc0_myisam.result File 24.07 KB 0644
partition_mgm_lc1_archive.result File 19.99 KB 0644
partition_mgm_lc1_innodb.result File 24.47 KB 0644
partition_mgm_lc1_memory.result File 24.52 KB 0644
partition_mgm_lc1_myisam.result File 24.47 KB 0644
partition_mgm_lc2_archive.result File 19.99 KB 0644
partition_mgm_lc2_innodb.result File 24.47 KB 0644
partition_mgm_lc2_memory.result File 24.52 KB 0644
partition_mgm_lc2_myisam.result File 24.47 KB 0644
partition_recover_myisam.result File 1.71 KB 0644
partition_reorganize_innodb.result File 7.06 KB 0644
partition_reorganize_myisam.result File 5.72 KB 0644
partition_repair_myisam.result File 16.07 KB 0644
partition_special_innodb.result File 18.36 KB 0644
partition_special_myisam.result File 14.85 KB 0644
partition_syntax_innodb.result File 61.36 KB 0644
partition_syntax_myisam.result File 62.92 KB 0644
partition_t55.out File 4.5 KB 0644
partition_value_innodb.result File 7.36 KB 0644
partition_value_myisam.result File 7.36 KB 0644
rpl-partition-dml-1-1-innodb.result File 6.78 KB 0644
rpl-partition-dml-1-1-myisam.result File 6.78 KB 0644
rpl_partition.result File 5.51 KB 0644