[MDEV-32008] auto_increment value on table increments by one after restart Created: 2023-08-25 Updated: 2023-08-29 Resolved: 2023-08-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.9.8 |
| Fix Version/s: | 10.10.7, 10.11.6, 11.0.4, 11.1.3, 11.2.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Daniel Black | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | not-10.6, regression, regression-10.9 | ||
| Issue Links: |
|
||||||||
| Description |
|
From https://github.com/MariaDB/mariadb-docker/issues/527, a created table with AUTO_INCREMENT=X, after a restart, appears in SHOW CREATE TABLE as AUTO_INCREMENT=X+1 after a server restart. confirmed present in 3e0009dc3a771e4dbf2fa4a4cf87e750453fb2eb (10.9. confirmed not present in 864bbd4d0982e51c8ed643ed0fd2874c2425b451 (4700f2ac70f8c79f2ac1968b6b59d18716f492bf^) (the commit before test case from @Nezisi on GH https://github.com/Nezisi/mariadb-autoinc-reproducer:
|
| Comments |
| Comment by Marko Mäkelä [ 2023-08-25 ] |
|
Can we do this in a way that the result of the test of |