Commit 5b2e9c5d authored by Sergei Golubchik's avatar Sergei Golubchik

WL#43: initialize lex->option_list for foreign keys

parent ac0bf0f4
......@@ -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;
......
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