mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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.
This commit is contained in:
parent
2d74f90890
commit
2d8aa553da
1 changed files with 4 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue