Commit b59ce25d authored by marko's avatar marko

branches/zip: dict_foreign_eval_sql(): Print foreign->id as a table name

(in the database.id format).  This should have been changed in r1570.
parent 71f47ed2
...@@ -1294,12 +1294,11 @@ dict_foreign_eval_sql( ...@@ -1294,12 +1294,11 @@ dict_foreign_eval_sql(
ef); ef);
ut_print_name(ef, trx, TRUE, table->name); ut_print_name(ef, trx, TRUE, table->name);
fputs(".\nA foreign key constraint of name ", ef); fputs(".\nA foreign key constraint of name ", ef);
ut_print_name(ef, trx, FALSE, foreign->id); ut_print_name(ef, trx, TRUE, foreign->id);
fputs("\nalready exists." fputs("\nalready exists."
" (Note that internally InnoDB adds 'databasename/'\n" " (Note that internally InnoDB adds 'databasename'\n"
"in front of the user-defined constraint name).\n", "in front of the user-defined constraint name.)\n"
ef); "Note that InnoDB's FOREIGN KEY system tables store\n"
fputs("Note that InnoDB's FOREIGN KEY system tables store\n"
"constraint names as case-insensitive, with the\n" "constraint names as case-insensitive, with the\n"
"MySQL standard latin1_swedish_ci collation. If you\n" "MySQL standard latin1_swedish_ci collation. If you\n"
"create tables or databases whose names differ only in\n" "create tables or databases whose names differ only in\n"
......
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