summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-07-28 09:40:20 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-07-28 09:40:20 +0300
commitfb8be6a631e68c57d36c1a0637033f6827105366 (patch)
tree37327ce2b576e5a0071cf8daad83a50519243b80
parentdfadc90303aeb36c7f9c52119f0ef757348f3ff2 (diff)
downloadmariadb-git-fb8be6a631e68c57d36c1a0637033f6827105366.tar.gz
Cleanup: Remove dead code
Thanks to Nikita Malyavin for noticing this. The dead code that was originally introduced in mysql/mysql-server@b8bd31740cd7088f3a3c164981c7ccda487d301d was added in commit 2e814d4702d71a04388386a9f591d14a35980bfe to this code base.
-rw-r--r--storage/innobase/handler/handler0alter.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc
index 88e02ee4e32..c8888bada02 100644
--- a/storage/innobase/handler/handler0alter.cc
+++ b/storage/innobase/handler/handler0alter.cc
@@ -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);
}