summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-11-18 16:04:57 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2021-04-20 16:36:56 +0200
commita3099a3b4a394da360b5c1e7ae6dc985ae2f7f2f (patch)
tree6df02d372d1ad80d3358122a9cff7961aa362775 /include
parent8751aa7397b2e698fa0b46ec3e60abb9e2fd7e1b (diff)
downloadmariadb-git-bb-10.6-MDEV-24312.tar.gz
MDEV-24312 master_host has 60 character limit, increase to 255 bytesbb-10.6-MDEV-24312
Also increase user name up to 128. The work was started by Rucha Deodhar <rucha.deodhar@mariadb.com>, contains audit plugin fixes by Alexey Botchkov <holyfoot@askmonty.org>.
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 06c1e739a05..0f525488b53 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -23,7 +23,7 @@
#include "my_decimal_limits.h"
-#define HOSTNAME_LENGTH 60
+#define HOSTNAME_LENGTH 255
#define HOSTNAME_LENGTH_STR STRINGIFY_ARG(HOSTNAME_LENGTH)
#define SYSTEM_CHARSET_MBMAXLEN 3
#define NAME_CHAR_LEN 64 /* Field/table name length */