[MDEV-30001] mariadb-dump --lock-tables doesn't work with tables that are using sequences. Created: 2022-11-11 Updated: 2022-11-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michael Widenius | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
mariadb-dump --lock-tables doesn't work with tables that uses sequences. Here is an example of a dump that one cannot restore:
The fix is to also add any used sequences to the LOCK TABLE |