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.
This commit is contained in:
Marko Mäkelä 2018-04-24 11:53:04 +03:00
parent 4cd7979c56
commit 36d28f210a

View file

@ -12948,10 +12948,9 @@ create_table_info_t::create_table_update_dict()
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);
dict_table_close(innobase_table, FALSE, FALSE);
DBUG_RETURN(0);
}