[MDEV-25531] Auto-create: Bad error message upon failure to create partitions due to ER_TOO_MANY_PARTITIONS_ERROR Created: 2021-04-26 Updated: 2021-07-29 Resolved: 2021-06-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning, Versioned Tables |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Aleksey Midenkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
bb-10.6-midenok- |
||
| Issue Links: |
|
||||||||
| Description |
|
The test case is taken from the MTR test, so there is no need to add it anywhere:
The UPDATE results in
While it is indeed what happens underneath, the error message is really unsuitable and confusing in this situation: UPDATE doesn't define any partitions at all, and in this case even the table definition doesn't "define too many partitions". |