diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-04-05 11:35:03 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-04-05 11:35:03 +0300 |
commit | fee508a430c58e2d768104d91a9646d5f9d67315 (patch) | |
tree | 5fbe4aa14eb044b99d9a484f628fae36d453ab3c /innobase | |
parent | 682baee2316f194108587ce0da4aa44ea1a481ab (diff) | |
download | mariadb-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.c | 3 |
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); |