[MDEV-30773] mysqldump --no-data does not show auto increment counter for unused tables Created: 2023-03-02 Updated: 2023-03-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.3.37 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Michaël de groot | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hi, I assume that this is for other versions as well, but I experienced this on 10.3.37. When running mysqldump --no-data to dump the schema, some tables do not show their auto increment value. I initially thought this was due to the table not being opened, but it is not. I tried to login to the same instances and execute SHOW CREATE TABLE, but afterwards the dump still did not show the value. I don't know the cause or how to reproduce, but adding this issue anyways as it might be useful later on. Thank you, |
| Comments |
| Comment by Anel Husakovic [ 2023-03-02 ] | |||||||||||||||||||||||
|
Hi, | |||||||||||||||||||||||
| Comment by Daniel Black [ 2023-03-02 ] | |||||||||||||||||||||||
|
Why is it important that SHOW CREATE TABLE does show the last auto_increment value? Yes, its in 10.3 too and probably has been the case since the beginning of auto_increment.
|