summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_hosts.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_hosts.cc')
-rw-r--r--storage/perfschema/table_hosts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/table_hosts.cc b/storage/perfschema/table_hosts.cc
index 8d8b6201ec8..8e71bfc69bf 100644
--- a/storage/perfschema/table_hosts.cc
+++ b/storage/perfschema/table_hosts.cc
@@ -46,7 +46,7 @@ table_hosts::m_share=
sizeof(PFS_simple_index), /* ref length */
&m_table_lock,
{ C_STRING_WITH_LEN("CREATE TABLE hosts("
- "HOST CHAR(60) collate utf8_bin default null,"
+ "HOST CHAR(" STRINGIFY_ARG(HOSTNAME_LENGTH) ") collate utf8_bin default null,"
"CURRENT_CONNECTIONS bigint not null,"
"TOTAL_CONNECTIONS bigint not null)") },
false /* perpetual */