[MDEV-30296] mysqldump does not maintain consistency of merge/underlying tables Created: 2022-12-24 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
mysqldump may write CREATE statements related to a MERGE table before underlying tables which it unions. The merge table remains invalid until the underlying tables are created, so the dump can become unloadable.
The line 38 in the dump is
By this time, the MERGE table mt has already been created, but the underlying table t hasn't. |
| Comments |
| Comment by Oleksandr Byelkin [ 2023-09-26 ] |
|
I have no idea other then create triggers after tables and views... |