Commit bf442fca authored by Mattias Jonsson's avatar Mattias Jonsson

Backport of bug#36001 from 6.0 to 5.1

parent 85cc17d3
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -329,11 +329,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -559,7 +559,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -793,7 +793,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `tablea` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -320,11 +320,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` ( ...@@ -541,7 +541,7 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB VALUES LESS THAN (3) , (PARTITION partB VALUES LESS THAN (3) ,
PARTITION parta VALUES LESS THAN (11) ); PARTITION parta VALUES LESS THAN (11) );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO ALTER TABLE TableA REORGANIZE PARTITION partB,Partc,PartD,PartE INTO
(PARTITION partD VALUES LESS THAN (8) (PARTITION partD VALUES LESS THAN (8)
COMMENT="Previously partB and partly Partc", COMMENT="Previously partB and partly Partc",
...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9) ...@@ -767,7 +767,7 @@ PARTITION partF VALUES IN (3,9)
COMMENT = "Mix 2 of old parta and Partc", COMMENT = "Mix 2 of old parta and Partc",
PARTITION parta VALUES IN (4,8) PARTITION parta VALUES IN (4,8)
COMMENT = "Mix 3 of old parta and Partc"); COMMENT = "Mix 3 of old parta and Partc");
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION Partc VALUES IN (1,7) (PARTITION Partc VALUES IN (1,7)
COMMENT = "Mix 1 of old parta and Partc", COMMENT = "Mix 1 of old parta and Partc",
......
...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` ( ...@@ -93,11 +93,11 @@ TableA CREATE TABLE `TableA` (
ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB,Partc INTO
(PARTITION PARTA , (PARTITION PARTA ,
PARTITION partc ); PARTITION partc );
ERROR HY000: REORGANISE PARTITION can only be used to reorganise partitions not to change their numbers ERROR HY000: REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers
ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO ALTER TABLE TableA REORGANIZE PARTITION parta,Partc INTO
(PARTITION partB , (PARTITION partB ,
PARTITION parta ); PARTITION parta );
ERROR HY000: When reorganising a set of partitions they must be in consecutive order ERROR HY000: When reorganizing a set of partitions they must be in consecutive order
ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO ALTER TABLE TableA REORGANIZE PARTITION parta,partB INTO
(PARTITION partB COMMENT="Previusly named parta", (PARTITION partB COMMENT="Previusly named parta",
PARTITION parta COMMENT="Previusly named partB"); PARTITION parta COMMENT="Previusly named partB");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment