diff options
author | Anel Husakovic <anel@mariadb.org> | 2020-08-31 16:36:32 +0200 |
---|---|---|
committer | Anel Husakovic <anel@mariadb.org> | 2020-10-23 09:06:56 +0200 |
commit | 81870e499ff14afacc7e9cabde65a626165f209f (patch) | |
tree | d53adb2ea3c39f42629dac36eb8bbb0ae1fd0c28 /configure.cmake | |
parent | e3d692aa092a76415ce1ce0e9662338873d84abb (diff) | |
download | mariadb-git-81870e499ff14afacc7e9cabde65a626165f209f.tar.gz |
MDEV-21786 mysqldump will forget sequence definition details on --no-data dump
- Original patch was contributed by Jani Tolonen <jani.k.tolonen@gmail.com>
https://github.com/an3l/server/commits/bb-10.3-anel-MDEV-21786-dump-sequence
which distinguishes data structure (linked list) of sequences from
tables.
- Added standard sql output to prevent future changes
of sequences and disabled locks for sequences.
- Added test case for `MDEV-20070: mysqldump won't work correct on
sequences` where table column depends on sequence value.
- Restore sequence last value in the following way:
- Find `next_not_cached_value` and use it to `setval()`
- We just need for logical restore, so don't execute `setval()`
- `setval()` should be showed also in case of `--no-data` option.
Reviewed-by: daniel@mariadb.org
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions