Skip to content
Permalink
Browse files
MDEV-28752 Rollback of RENAME is broken if innodb_file_per_table=0
This was broken in 54e2e70 (MDEV-25524).
  • Loading branch information
dr-m committed Jun 6, 2022
1 parent 1b03db1 commit a98ac43
Showing 1 changed file with 1 addition and 1 deletion.
@@ -428,7 +428,7 @@ static bool row_undo_ins_parse_undo_rec(undo_node_t* node, bool dict_locked)
table, name,
!dict_table_t::is_temporary_name(name),
true);
} else if (table->space) {
} else if (table->space && table->space->id) {
const auto s = table->space->name();
if (len != s.size() || memcmp(name, s.data(), len)) {
table->rename_tablespace(name, true);

0 comments on commit a98ac43

Please sign in to comment.