Skip to content

Commit b7d1f65

Browse files
committed
MDEV-12266 fixup: Remove dead code
Ever since commit 5e84ea9 this "else if" branch was unreachable because the preceding "if" condition covered it.
1 parent bc28495 commit b7d1f65

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14840,16 +14840,6 @@ ha_innobase::check(
1484014840
table->s->table_name.str);
1484114841

1484214842
DBUG_RETURN(HA_ADMIN_CORRUPT);
14843-
14844-
} else if (!m_prebuilt->table->is_readable() &&
14845-
!m_prebuilt->table->space) {
14846-
14847-
ib_senderrf(
14848-
thd, IB_LOG_LEVEL_ERROR,
14849-
ER_TABLESPACE_MISSING,
14850-
table->s->table_name.str);
14851-
14852-
DBUG_RETURN(HA_ADMIN_CORRUPT);
1485314843
}
1485414844

1485514845
m_prebuilt->trx->op_info = "checking table";

0 commit comments

Comments
 (0)