Commit fcd875cf 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 ce81db2e
...@@ -1983,7 +1983,7 @@ loop: ...@@ -1983,7 +1983,7 @@ loop:
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