From 9e8b35f10e25de0a9b955001b3b78bf0b77710d6 Mon Sep 17 00:00:00 2001 From: Nikita Malyavin Date: Wed, 28 Jul 2021 19:55:26 +0300 Subject: fix goto issue --- storage/innobase/handler/handler0alter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index aad1d93a155..e8db197f1a5 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -8086,6 +8086,7 @@ err_exit: const ha_table_option_struct& alt_opt= *ha_alter_info->create_info->option_struct; + ha_innobase_inplace_ctx *ctx = NULL; if (!(ha_alter_info->handler_flags & INNOBASE_ALTER_DATA) || ((ha_alter_info->handler_flags & ~(INNOBASE_INPLACE_IGNORE @@ -8100,7 +8101,6 @@ err_exit: m_user_thd); } - ha_innobase_inplace_ctx *ctx = NULL; if (heap) { ctx = new ha_innobase_inplace_ctx( m_prebuilt, -- cgit v1.2.1