summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-04-05 11:35:03 +0300
committerunknown <heikki@hundin.mysql.fi>2005-04-05 11:35:03 +0300
commitfee508a430c58e2d768104d91a9646d5f9d67315 (patch)
tree5fbe4aa14eb044b99d9a484f628fae36d453ab3c /innobase
parent682baee2316f194108587ce0da4aa44ea1a481ab (diff)
downloadmariadb-git-fee508a430c58e2d768104d91a9646d5f9d67315.tar.gz
dict0dict.c:
Add a note that ENUM in new tables cannot reference ENUM in old tables, in FOREIGN KEY constraints innobase/dict/dict0dict.c: Add a note that ENUM in new tables cannot reference ENUM in old tables, in FOREIGN KEY constraints
Diffstat (limited to 'innobase')
-rw-r--r--innobase/dict/dict0dict.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c
index 2bceb432aa6..cb48c86c541 100644
--- a/innobase/dict/dict0dict.c
+++ b/innobase/dict/dict0dict.c
@@ -3285,6 +3285,9 @@ try_find_index:
"Cannot find an index in the referenced table where the\n"
"referenced columns appear as the first columns, or column types\n"
"in the table and the referenced table do not match for constraint.\n"
+"Note that the internal storage type of ENUM and SET changed in\n"
+"tables created with >= InnoDB-4.1.12, and such columns in old tables\n"
+"cannot be referenced by such columns in new tables.\n"
"See http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html\n"
"for correct foreign key definition.\n",
start_of_latest_foreign);