[MDEV-8652] Partitioned table creation problem when creating from procedure context twice in same session Created: 2015-08-19 Updated: 2022-11-09 Resolved: 2022-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Procedure, Partitioning |
| Affects Version/s: | 10.0.20, 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.2.42 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Hartmut Holzgraefe | Assignee: | Lena Startseva |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
linux |
||
| Issue Links: |
|
||||||||
| Description |
|
When DROPing and reCREATing a partitioned table using a stored procedure the 2nd attempt from the same session leads to a "VALUES LESS THAN value must be strictly increasing for each partition" error. When closing the connection, reconnecting, and then re-executing the procedure the CREATE works well again, but another call from the same session makes it fail once more Minimalized test case:
|
| Comments |
| Comment by Elena Stepanova [ 2015-08-19 ] | |
|
Most likely it is either a duplicate of, or closely related to sanja, after you fix | |
| Comment by Elena Stepanova [ 2015-08-19 ] | |
|
Actually, since the fix for | |
| Comment by Elena Stepanova [ 2015-08-19 ] | |
|
Confirmed, patch for sanja, please add this test case to your patch as well (creation of a table, as far as I could see yours only has ALTER table inside a function). | |
| Comment by Lena Startseva [ 2022-01-25 ] | |
|
Branch: bb-10.2- | |
| Comment by Oleksandr Byelkin [ 2022-01-25 ] | |
|
should be added at the beginning of the test | |
| Comment by Oleksandr Byelkin [ 2022-01-25 ] | |
|
Sorry my bad, it was there. OK to push. | |
| Comment by Hartmut Holzgraefe [ 2022-05-01 ] | |
|
The error message was no longer reproducible in 10.0.22 already. Is this still waiting for better test coverage, or can it be considered ready to close by now? |