mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-19236 Improve error message for ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE
remove a sometimes misleading word INPLACE from error message
This commit is contained in:
committed by
Marko Mäkelä
parent
a05f423554
commit
4dc10ec68d
@ -2,7 +2,7 @@ create table t1 (a int, b smallint) engine=innodb;
|
||||
connect con1,localhost,root,,test;
|
||||
alter table t1 add constraint check (b < 8);
|
||||
alter table t1 modify column b int, algorithm=inplace;
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported. Reason: Cannot change column type. Try ALGORITHM=COPY
|
||||
connection default;
|
||||
alter table t1 add primary key (a);
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user