summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-18 22:17:29 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-18 22:17:29 +0200
commit84ce6832e64305a769fb424d272311468b5d1d0d (patch)
treed2a25ca91f63d312f0b2d09ccba012ecd102a7ba /include
parent07315d36030bd1cbe6acfeb3e8f60c49ba876a10 (diff)
downloadmariadb-git-84ce6832e64305a769fb424d272311468b5d1d0d.tar.gz
MDEV-4332 Increase username length from 16 characters
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 4a28e145546..fdd75556033 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -24,7 +24,7 @@
#define HOSTNAME_LENGTH 60
#define SYSTEM_CHARSET_MBMAXLEN 3
#define NAME_CHAR_LEN 64 /* Field/table name length */
-#define USERNAME_CHAR_LENGTH 16
+#define USERNAME_CHAR_LENGTH 128
#define NAME_LEN (NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)
#define USERNAME_LENGTH (USERNAME_CHAR_LENGTH*SYSTEM_CHARSET_MBMAXLEN)