Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.12, 5.5.59
Description
Basically, it's a request to implement upstream feature request:
https://bugs.mysql.com/bug.php?id=72109
Copying the table to just drop auto_increment attribute:
MariaDB [test]> create table t(id int auto_increment not null, key(id)) engine=InnoDB;
|
Query OK, 0 rows affected (0.22 sec)
|
 |
MariaDB [test]> alter table t modify column id int not null, algorithm=inplace;
|
ERROR 1846 (0A000): ALGORITHM=INPLACE is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY
|
is awful in production. Workarounds exist, but why not to do this in-place and without copying all the data?
Attachments
Issue Links
- blocks
-
MDEV-11424 Instant ALTER TABLE of failure-free record format changes
- Closed
- causes
-
MDEV-19272 virtual enum_alter_inplace_result ha_innobase::check_if_supported_inplace_alter(TABLE*, Alter_inplace_info*): Assertion `((((*af)->unireg_check) & 127U) == Field::NEXT_NUMBER) == (((f->unireg_check) & 127U) == Field::NEXT_NUMBER)' failed.
- Closed
-
MDEV-26224 InnoDB fails to remove AUTO_INCREMENT attribute
- Closed
- relates to
-
MDEV-11335 Changing delay_key_write option for MyISAM table should not copy rows
- Closed