summaryrefslogtreecommitdiff
path: root/mysql-test/t/not_partition.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/not_partition.test')
-rw-r--r--mysql-test/t/not_partition.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/not_partition.test b/mysql-test/t/not_partition.test
index 63892845de8..78ca44acf18 100644
--- a/mysql-test/t/not_partition.test
+++ b/mysql-test/t/not_partition.test
@@ -31,7 +31,7 @@ ALTER TABLE t1 ENGINE Memory;
ALTER TABLE t1 ADD (new INT);
DROP TABLE t1;
---error ER_FEATURE_DISABLED,ER_OPTION_PREVENTS_STATEMENT
+--error ER_FEATURE_DISABLED
CREATE TABLE t1 (
firstname VARCHAR(25) NOT NULL,
lastname VARCHAR(25) NOT NULL,
@@ -42,13 +42,13 @@ CREATE TABLE t1 (
PARTITION BY KEY(joined)
PARTITIONS 6;
---error ER_FEATURE_DISABLED,ER_OPTION_PREVENTS_STATEMENT
+--error ER_FEATURE_DISABLED
ALTER TABLE t1 PARTITION BY KEY(joined) PARTITIONS 2;
--error ER_BAD_TABLE_ERROR
drop table t1;
---error ER_FEATURE_DISABLED,ER_OPTION_PREVENTS_STATEMENT
+--error ER_FEATURE_DISABLED
CREATE TABLE t1 (
firstname VARCHAR(25) NOT NULL,
lastname VARCHAR(25) NOT NULL,
@@ -66,7 +66,7 @@ PARTITION BY RANGE( YEAR(joined) ) (
--error ER_BAD_TABLE_ERROR
drop table t1;
---error ER_FEATURE_DISABLED,ER_OPTION_PREVENTS_STATEMENT
+--error ER_FEATURE_DISABLED
CREATE TABLE t1 (id INT, purchased DATE)
PARTITION BY RANGE( YEAR(purchased) )
SUBPARTITION BY HASH( TO_DAYS(purchased) )