Commit 6b157f6b authored by Sergei Golubchik's avatar Sergei Golubchik

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

parent 4c4b5447
......@@ -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