Commit b7d1f65b authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-12266 fixup: Remove dead code

Ever since commit 5e84ea96
this "else if" branch was unreachable because the preceding
"if" condition covered it.
parent bc284957
......@@ -14840,16 +14840,6 @@ ha_innobase::check(
table->s->table_name.str);
DBUG_RETURN(HA_ADMIN_CORRUPT);
} else if (!m_prebuilt->table->is_readable() &&
!m_prebuilt->table->space) {
ib_senderrf(
thd, IB_LOG_LEVEL_ERROR,
ER_TABLESPACE_MISSING,
table->s->table_name.str);
DBUG_RETURN(HA_ADMIN_CORRUPT);
}
m_prebuilt->trx->op_info = "checking table";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment