diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-02-23 18:49:21 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-02-23 18:49:21 +0300 |
commit | 1dd2f90faf79eb1b194c9af0cde987c8a7b3058f (patch) | |
tree | df9457baf92d1aba63e31cc13fdfe0cc6b6e4be6 /include/mysql_com.h | |
parent | fcc9c8627a54f68ffe7c2f225d20a9f8c1016a08 (diff) | |
parent | 0a8a9a3fc083fbaf44ce2b59d4995af9950f11b4 (diff) | |
download | mariadb-git-1dd2f90faf79eb1b194c9af0cde987c8a7b3058f.tar.gz |
Auto-merge from mysql-next-mr-bugfixing.
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 3f1ac948423..e4e34141d43 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -33,6 +33,14 @@ #define SQLSTATE_LENGTH 5 /* + Maximum length of comments +*/ +#define TABLE_COMMENT_INLINE_MAXLEN 180 /* pre 6.0: 60 characters */ +#define TABLE_COMMENT_MAXLEN 2048 +#define COLUMN_COMMENT_MAXLEN 1024 +#define INDEX_COMMENT_MAXLEN 1024 + +/* USER_HOST_BUFF_SIZE -- length of string buffer, that is enough to contain username and hostname parts of the user identifier with trailing zero in MySQL standard format: |