diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-06-06 09:58:42 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-06-06 09:58:42 +0300 |
commit | a98ac43649f287a3114ce685cf02c8aba799b93d (patch) | |
tree | 19858e436ea77aafb74551ddbe7851e4e764a1d9 | |
parent | 1b03db11d2658b77ce31ffa9261652e626674b42 (diff) | |
download | mariadb-git-a98ac43649f287a3114ce685cf02c8aba799b93d.tar.gz |
MDEV-28752 Rollback of RENAME is broken if innodb_file_per_table=0
This was broken in 54e2e70194b9374543fdfc81a47d583e34771fac (MDEV-25524).
-rw-r--r-- | storage/innobase/row/row0uins.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/row/row0uins.cc b/storage/innobase/row/row0uins.cc index 446d56f8daa..825e7442746 100644 --- a/storage/innobase/row/row0uins.cc +++ b/storage/innobase/row/row0uins.cc @@ -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); |