diff options
author | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2013-02-12 14:52:48 +0530 |
---|---|---|
committer | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2013-02-12 14:52:48 +0530 |
commit | 8aecb30cdd1eea3517684dfc8d9d598b59396316 (patch) | |
tree | e7fe35b57020e80c8783949c6aba4638aba6b369 /storage/innobase/include/db0err.h | |
parent | b0f78ea2780858ef8e4501b40611c20efb9e5f9f (diff) | |
download | mariadb-git-8aecb30cdd1eea3517684dfc8d9d598b59396316.tar.gz |
Bug #11753153 INNODB GENERATES SYMBOLS THAT ARE TOO LONG, INVALID DDL
FROM SHOW CREATE
Problem: The length of the internally generated foreign key name
is not checked.
Solution: The length of the internally generated foreign key name is
checked. If it is greater than the allowed limit, an error message
is reported. Also, the constraint name is printed in the same manner
as the table name, using the system charset information.
rb://1969 approved by Marko.
Diffstat (limited to 'storage/innobase/include/db0err.h')
-rw-r--r-- | storage/innobase/include/db0err.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/include/db0err.h b/storage/innobase/include/db0err.h index 1514b19639c..73bb1876b3a 100644 --- a/storage/innobase/include/db0err.h +++ b/storage/innobase/include/db0err.h @@ -84,6 +84,7 @@ Created 5/24/1996 Heikki Tuuri foreign keys as its prefix columns */ #define DB_TABLE_IN_FK_CHECK 53 /* table is being used in foreign key check */ +#define DB_IDENTIFIER_TOO_LONG 54 /* Identifier name too long */ /* The following are partial failure codes */ #define DB_FAIL 1000 |