Bug #84360 | İt is possible partitoned table to alter to non-existing general tablespace | ||
---|---|---|---|
Submitted: | 28 Dec 2016 13:36 | Modified: | 28 Dec 2016 15:04 |
Reporter: | Yusif Yusifov | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S2 (Serious) |
Version: | 5.7.17 | OS: | Ubuntu (16.04) |
Assigned to: | CPU Architecture: | Any | |
Tags: | General Tablespace, innodb, Partitons table |
[28 Dec 2016 13:36]
Yusif Yusifov
[28 Dec 2016 15:04]
MySQL Verification Team
Hi, In case of non-partitioned table you can't move to non existing table space so you get error as you expect. On the other case, where you have partitioned table, this alter is just setting a default value for the next partitions to be created, the default value can be anything hence no error (would be cool to get a warning there but..). if you then try to create a partition that will fail with error as tablespace does not exist. In any case setting this to verified as it is a potential disaster.