Skip to content
Permalink
Browse files

MDEV-12103: Move a misplaced assertion.

  • Loading branch information...
dr-m committed Mar 3, 2017
1 parent ab8199f commit 545f49dac361aa80aea26625233f9856ef4e16f5
Showing with 2 additions and 1 deletion.
  1. +2 −1 storage/innobase/log/log0recv.cc
@@ -3073,7 +3073,6 @@ recv_init_crash_recovery_spaces(void)
for (recv_spaces_t::iterator i = recv_spaces.begin();
i != recv_spaces.end(); i++) {
ut_ad(!is_predefined_tablespace(i->first));
ut_ad(i->second.deleted || i->second.name != "");
ut_ad(!i->second.deleted || !i->second.space);

if (i->second.deleted) {
@@ -3095,6 +3094,8 @@ recv_init_crash_recovery_spaces(void)
missing_spaces.insert(i->first);
flag_deleted = true;
}

ut_ad(i->second.deleted || i->second.name != "");
}

if (flag_deleted) {

0 comments on commit 545f49d

Please sign in to comment.
You can’t perform that action at this time.