WL#43: initialize lex->option_list for foreign keys
This commit is contained in:
parent
4c4b544711
commit
6b157f6be3
@ -4947,6 +4947,7 @@ key_def:
|
||||
if (key == NULL)
|
||||
MYSQL_YYABORT;
|
||||
lex->alter_info.key_list.push_back(key);
|
||||
lex->option_list= NULL;
|
||||
if (add_create_index (lex, Key::MULTIPLE, key_name,
|
||||
&default_key_create_info, 1))
|
||||
MYSQL_YYABORT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user