[MDEV-19236] Improve error message for ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE Created: 2019-04-11  Updated: 2019-04-12  Resolved: 2019-04-12

Status: Closed
Project: MariaDB Server
Component/s: Data Definition - Alter Table
Affects Version/s: 10.3, 10.4
Fix Version/s: 10.3.15, 10.4.5

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: None


 Description   

The fix is to remove word INPLACE from patch. Because it might be incorrect in case if user actually specified ALGORITHM=INSTANT.

create table t (a varchar(100)) engine=innodb;
alter table t modify a varchar(300), algorithm=instant;
 
mysqltest: At line 11: query 'alter table t modify a varchar(300), algorithm=instant' failed: 1846: ALGORITHM=INSTANT is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY


Generated at Thu Feb 08 08:50:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.