Bug #103363 | Too many columns on partitioned table makes database broken | ||
---|---|---|---|
Submitted: | 19 Apr 2021 8:21 | Modified: | 18 May 2021 0:55 |
Reporter: | Albert Wang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[19 Apr 2021 8:21]
Albert Wang
[19 Apr 2021 13:49]
MySQL Verification Team
Hi Mr. Wang, Thank you for your bug report. We have managed to repeat the corruption of the partitioned table. Verified as reported.
[14 May 2021 13:59]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.26 release, and here's the proposed changelog entry from the documentation team: A failure occurred when truncating a partitioned table after an operation that added too many columns to the table, exceeding the column limit. The number of columns added is now evaluated before an ADD COLUMN operation is permitted.
[17 May 2021 16:11]
MySQL Verification Team
Thank you, Daniel .......
[18 May 2021 0:55]
Albert Wang
Dear developers, So, if I already have one broken table, can it be dropped after the new release? Since it's on production server, we can't easily reset everything.