|
1 |
| ---- instant_alter_charset.result 2019-06-17 14:36:02.311515062 +0300 |
2 |
| -+++ instant_alter_charset,redundant.result 2019-06-17 14:50:11.888705725 +0300 |
3 |
| -@@ -279,7 +279,6 @@ |
| 1 | +@@ -288,7 +288,6 @@ |
4 | 2 | alter table boundary_255
|
5 | 3 | modify a varchar(70) charset utf8mb4,
|
6 | 4 | algorithm=instant;
|
7 | 5 | -ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
8 | 6 | drop table boundary_255;
|
9 | 7 | create table t (
|
10 | 8 | a char(10) collate utf8mb3_general_ci,
|
11 |
| -@@ -297,32 +296,21 @@ |
| 9 | +@@ -306,35 +305,21 @@ |
12 | 10 | repeat('a', 10), repeat('a', 10)
|
13 | 11 | );
|
14 | 12 | alter table t modify a char(10) collate utf8mb4_general_ci, algorithm=instant;
|
|
27 | 25 | -test.t check status OK
|
28 | 26 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
29 | 27 | alter table t modify aa char(10) collate utf8mb4_general_ci, algorithm=instant;
|
| 28 | +-ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Collation change on an indexed column. Try ALGORITHM=COPY |
30 | 29 | -check table t;
|
31 | 30 | -Table Op Msg_type Msg_text
|
32 | 31 | -test.t check status OK
|
33 | 32 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
34 | 33 | alter table t modify bb char(70) collate utf8mb4_general_ci, algorithm=instant;
|
| 34 | +-ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Collation change on an indexed column. Try ALGORITHM=COPY |
35 | 35 | -check table t;
|
36 | 36 | -Table Op Msg_type Msg_text
|
37 | 37 | -test.t check status OK
|
38 | 38 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
39 | 39 | alter table t modify cc char(100) collate utf8mb4_general_ci, algorithm=instant;
|
| 40 | +-ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Collation change on an indexed column. Try ALGORITHM=COPY |
40 | 41 | -check table t;
|
41 | 42 | -Table Op Msg_type Msg_text
|
42 | 43 | -test.t check status OK
|
43 | 44 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
44 | 45 | alter table t modify d char(10) collate utf8mb4_spanish_ci, algorithm=instant;
|
45 | 46 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
46 | 47 | alter table t modify dd char(10) collate utf8mb4_spanish_ci, algorithm=instant;
|
47 |
| --ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: ADD INDEX. Try ALGORITHM=NOCOPY |
| 48 | +-ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Collation change on an indexed column. Try ALGORITHM=COPY |
48 | 49 | +ERROR 0A000: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
49 | 50 | select * from t;
|
50 | 51 | a b c aa bb cc d dd
|
51 | 52 | aaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
|
| 53 | + |
| 54 | +mysqltest: Result length mismatch |
0 commit comments