|
|
@ -50,7 +50,7 @@ ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with |
|
|
ALTER TABLE t1 PARTITION BY KEY(joined) PARTITIONS 2; |
|
|
ALTER TABLE t1 PARTITION BY KEY(joined) PARTITIONS 2; |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
drop table t1; |
|
|
drop table t1; |
|
|
ERROR 42S02: Unknown table 't1' |
|
|
|
|
|
|
|
|
ERROR 42S02: Unknown table 'test.t1' |
|
|
CREATE TABLE t1 ( |
|
|
CREATE TABLE t1 ( |
|
|
firstname VARCHAR(25) NOT NULL, |
|
|
firstname VARCHAR(25) NOT NULL, |
|
|
lastname VARCHAR(25) NOT NULL, |
|
|
lastname VARCHAR(25) NOT NULL, |
|
|
@ -67,7 +67,7 @@ PARTITION p4 VALUES LESS THAN MAXVALUE |
|
|
); |
|
|
); |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
drop table t1; |
|
|
drop table t1; |
|
|
ERROR 42S02: Unknown table 't1' |
|
|
|
|
|
|
|
|
ERROR 42S02: Unknown table 'test.t1' |
|
|
CREATE TABLE t1 (id INT, purchased DATE) |
|
|
CREATE TABLE t1 (id INT, purchased DATE) |
|
|
PARTITION BY RANGE( YEAR(purchased) ) |
|
|
PARTITION BY RANGE( YEAR(purchased) ) |
|
|
SUBPARTITION BY HASH( TO_DAYS(purchased) ) |
|
|
SUBPARTITION BY HASH( TO_DAYS(purchased) ) |
|
|
@ -78,7 +78,7 @@ PARTITION p2 VALUES LESS THAN MAXVALUE |
|
|
); |
|
|
); |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
ERROR HY000: The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working |
|
|
drop table t1; |
|
|
drop table t1; |
|
|
ERROR 42S02: Unknown table 't1' |
|
|
|
|
|
|
|
|
ERROR 42S02: Unknown table 'test.t1' |
|
|
create table t1 (a varchar(10) charset latin1 collate latin1_bin); |
|
|
create table t1 (a varchar(10) charset latin1 collate latin1_bin); |
|
|
insert into t1 values (''),(' '),('a'),('a '),('a '); |
|
|
insert into t1 values (''),(' '),('a'),('a '),('a '); |
|
|
explain partitions select * from t1 where a='a ' OR a='a'; |
|
|
explain partitions select * from t1 where a='a ' OR a='a'; |
|
|
|