Commit 36d28f21 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-15865 Crash in dict_index_set_merge_threshold() on CREATE TABLE

Apply the contributed patch from
MySQL Bug #89126 create table panic on innobase_parse_hint_from_comment
by Yan Huang.
parent 4cd7979c
...@@ -12948,10 +12948,9 @@ create_table_info_t::create_table_update_dict() ...@@ -12948,10 +12948,9 @@ create_table_info_t::create_table_update_dict()
dict_table_autoinc_unlock(innobase_table); dict_table_autoinc_unlock(innobase_table);
} }
dict_table_close(innobase_table, FALSE, FALSE);
innobase_parse_hint_from_comment(m_thd, innobase_table, m_form->s); innobase_parse_hint_from_comment(m_thd, innobase_table, m_form->s);
dict_table_close(innobase_table, FALSE, FALSE);
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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