mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
MDEV-31851 After crash recovery, undo tablespace fails to open
srv_all_undo_tablespaces_open(): While opening the extra unused undo tablespaces, InnoDB should use ULINT_UNDEFINED instead of SRV_SPACE_ID_UPPER_BOUND.
This commit is contained in:
parent
dbba1bb1c3
commit
85751ed81d
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ unused_undo:
|
|||
snprintf(name, sizeof(name),
|
||||
"%s%cundo%03zu", srv_undo_dir, OS_PATH_SEPARATOR, i);
|
||||
ulint space_id= srv_undo_tablespace_open(create_new_db, name, i);
|
||||
if (!space_id || space_id == SRV_SPACE_ID_UPPER_BOUND)
|
||||
if (!space_id || space_id == ULINT_UNDEFINED)
|
||||
break;
|
||||
++srv_undo_tablespaces_open;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue