Bug #72662 | Extending VARCHAR can't be done online in InnoDB | ||
---|---|---|---|
Submitted: | 16 May 2014 0:34 | Modified: | 16 May 2014 18:06 |
Reporter: | Yoshinori Matsunobu (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.6.18 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 May 2014 0:34]
Yoshinori Matsunobu
[16 May 2014 9:37]
MySQL Verification Team
Hello Yoshinori, Thank you for the report. Imho - you are referring 5.7 manual instead of 5.6 manual. This FR was implemented in 5.7 - http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-1.html I could get this working with 5.7 without any issue: mysql> create table x2 (id int primary key, `command_type` varchar(32) not null) engine=innodb; Query OK, 0 rows affected (0.02 sec) mysql> alter table x2 algorithm=inplace, change column command_type command_type varchar(64); Query OK, 0 rows affected (0.06 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> show create table x2\G *************************** 1. row *************************** Table: x2 Create Table: CREATE TABLE `x2` ( `id` int(11) NOT NULL, `command_type` varchar(64) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 1 row in set (0.00 sec) mysql> select version(); +----------------------------------------------+ | version() | +----------------------------------------------+ | 5.7.5-m15-enterprise-commercial-advanced-log | +----------------------------------------------+ 1 row in set (0.00 sec) Thanks, Umesh
[16 May 2014 17:48]
Yoshinori Matsunobu
Oh I thought I was reading 5.6 manual but actually it was 5.7 manual. Sorry for submitting a wrong bug report. Please close this.