Commit 9daf885c authored by unknown's avatar unknown

dict0dict.c:

  If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser


innobase/dict/dict0dict.c:
  If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser
parent d0634d18
...@@ -1983,7 +1983,7 @@ dict_create_foreign_constraints( ...@@ -1983,7 +1983,7 @@ dict_create_foreign_constraints(
ptr = dict_accept(ptr, "FOREIGN", &success); ptr = dict_accept(ptr, "FOREIGN", &success);
if (!isspace(*ptr)) { if (!isspace(*ptr)) {
return(DB_CANNOT_ADD_CONSTRAINT); goto loop;
} }
ptr = dict_accept(ptr, "KEY", &success); ptr = dict_accept(ptr, "KEY", &success);
......
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