[MDEV-33169] Alter sequence 2nd ps fails while alter sequence 2nd time (no ps) succeeds Created: 2024-01-03 Updated: 2024-01-09 Resolved: 2024-01-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Sequences |
| Affects Version/s: | 10.4, 11.4 |
| Fix Version/s: | 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Yuchen Pei | Assignee: | Yuchen Pei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In the following case, statements 1 and 2 succeed, so is statement 3, but statement 4 fails. It should succeed because 2 succeeds.
Could also reprod at 10.4 9695974e4b212aa4820e0ccfeb164f5444c0d58e. The error is
|
| Comments |
| Comment by Yuchen Pei [ 2024-01-04 ] | ||||||
|
An initial patch, and it seems to fix MDEV-33012 too
| ||||||
| Comment by Yuchen Pei [ 2024-01-04 ] | ||||||
|
Hi sanja, ptal thanks:
| ||||||
| Comment by Oleksandr Byelkin [ 2024-01-04 ] | ||||||
|
Please make your editor avoid using <TAB> symbols and fix the patch (your editor things that tab is 2 spaces, by default it is 8 everywhere). That is why we avoid tabs and we are removing existing tabs if change something in that lines | ||||||
| Comment by Yuchen Pei [ 2024-01-04 ] | ||||||
|
Thanks for the comment. I've fixed the tabs (no idea why my emacs config of using spaces rather than tabs was overriden in this particular file/buffer), ptal thanks
| ||||||
| Comment by Oleksandr Byelkin [ 2024-01-08 ] | ||||||
|
OK to push | ||||||
| Comment by Yuchen Pei [ 2024-01-09 ] | ||||||
|
Thanks for the review. Pushed ca276a0f3fcb45ff0abc011e334c700e0c5d4315 to 10.4 |