summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index b4f706984a5..5a6cb1a4c8f 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -55,7 +55,7 @@ C_MODE_END
#include <sql_repl.h>
#include "sql_statistics.h"
-size_t username_char_length= 80;
+size_t username_char_length= USERNAME_CHAR_LENGTH;
/*
Calculate max length of string from length argument to LEFT and RIGHT