mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MDEV-13561 Mariabackup is incompatible with retroactively created innodb_undo_tablespaces
- Mariabackup supports starting undo tablespace id which is greater than 1.
This commit is contained in:
parent
4629db0dd6
commit
b6d68c6aa3
6 changed files with 130 additions and 5 deletions
|
|
@ -1505,14 +1505,12 @@ srv_undo_tablespaces_init(
|
|||
|
||||
if (backup_mode) {
|
||||
ut_ad(!create_new_db);
|
||||
/* MDEV-13561 FIXME: Determine srv_undo_space_id_start
|
||||
from the undo001 file. */
|
||||
srv_undo_space_id_start = 1;
|
||||
|
||||
for (i = 0; i < n_undo_tablespaces; i++) {
|
||||
undo_tablespace_ids[i]
|
||||
= i + srv_undo_space_id_start;
|
||||
}
|
||||
|
||||
prev_space_id = srv_undo_space_id_start - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue