Skip to content
Permalink
Browse files
Cleanup: Remove dead code
Thanks to Nikita Malyavin for noticing this.
The dead code that was originally introduced in
mysql/mysql-server@b8bd317
was added in commit 2e814d4
to this code base.
  • Loading branch information
dr-m committed Jul 28, 2021
1 parent dfadc90 commit fb8be6a
Showing 1 changed file with 0 additions and 6 deletions.
@@ -5424,12 +5424,6 @@ ha_innobase::prepare_inplace_alter_table(
if (!(ha_alter_info->handler_flags & ~INNOBASE_INPLACE_IGNORE)) {
/* Nothing to do */
DBUG_ASSERT(m_prebuilt->trx->dict_operation_lock_mode == 0);
if (ha_alter_info->handler_flags & ~INNOBASE_INPLACE_IGNORE) {

online_retry_drop_indexes(
m_prebuilt->table, m_user_thd);

}
DBUG_RETURN(false);
}

0 comments on commit fb8be6a

Please sign in to comment.