diff options
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r-- | sql/sql_acl.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 6f2b464ef08..cb0a9576378 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -5232,14 +5232,6 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list) continue; } - if (user_name->host.length > HOSTNAME_LENGTH || - user_name->user.length > USERNAME_LENGTH) - { - append_user(&wrong_users, user_name); - result= TRUE; - continue; - } - /* Search all in-memory structures and grant tables for a mention of the new user name. |