[MDEV-12389] ADD CHECK leaves an orphaned .par file Created: 2017-03-28 Updated: 2020-08-25 Resolved: 2017-05-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning, Storage Engine - InnoDB |
| Affects Version/s: | 10.0, 10.1, 10.1.21 |
| Fix Version/s: | 10.1.24, 10.2.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | check_constraints, innodb, partitioning | ||
| Issue Links: |
|
||||||||
| Description |
|
Executing ALTER TABLE ADD CHECK on a partitioned InnoDB table leaves an orphaned .par file behind. To reproduce, execute the following:
And then execute the following:
The statement will fail with the following error:
And we can see that the directory is non-empty because of the orphaned .par file:
|
| Comments |
| Comment by Elena Stepanova [ 2017-05-01 ] | |||||||||||||||||
|
10.0, 10.1 are affected, 10.2 is not. |