Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0.10
-
Fix Version/s: 10.0.12
-
Component/s: None
-
Labels:None
Description
This probably was because all engines currently supporting partitioning do not support in place alter. However, this is wrong for engines that do support in place alter.
For instance when doing:
alter table partinp add index XID(id); alter table partinp drop index XID;
the data of CONNECT outward tables is modified (all rows are doubled)
Although it was possible to avoid this, calling check_if_supported_inplace_alter should be done to avoid unnecessary and time consuming operations.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Olivier Bertrand, as far as I can see, partition engine calls check_if_supported_inplace_alter(), it's right there in ha_partition::check_if_supported_inplace_alter() method.
Could you provide a complete test case for the buggy behavior that you observed? Starting from create table and everything. The connect test suite (in storage/connect/mysql-test/connect) contains no examples of partitioned connect tables.