summaryrefslogtreecommitdiff
path: root/innobase/dict
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2005-04-05 11:35:03 +0300
committerheikki@hundin.mysql.fi <>2005-04-05 11:35:03 +0300
commit9db39659242d089f948d934356f4428f84b65977 (patch)
tree5fbe4aa14eb044b99d9a484f628fae36d453ab3c /innobase/dict
parent247f2ac563f6ff157b6b3c6f0d9408ea9a2d276b (diff)
downloadmariadb-git-9db39659242d089f948d934356f4428f84b65977.tar.gz
dict0dict.c:
Add a note that ENUM in new tables cannot reference ENUM in old tables, in FOREIGN KEY constraints
Diffstat (limited to 'innobase/dict')
-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);