summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-02-23 18:49:21 +0300
committerAlexander Nozdrin <alik@sun.com>2010-02-23 18:49:21 +0300
commit1dd2f90faf79eb1b194c9af0cde987c8a7b3058f (patch)
treedf9457baf92d1aba63e31cc13fdfe0cc6b6e4be6 /include/mysql_com.h
parentfcc9c8627a54f68ffe7c2f225d20a9f8c1016a08 (diff)
parent0a8a9a3fc083fbaf44ce2b59d4995af9950f11b4 (diff)
downloadmariadb-git-1dd2f90faf79eb1b194c9af0cde987c8a7b3058f.tar.gz
Auto-merge from mysql-next-mr-bugfixing.
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r--include/mysql_com.h8
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: