1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Remove the fix for Bug#10668 "CREATE USER does not enforce username

length limit", it's superseded by the fix for Bug#16899 "Possible buffer
overflow in handling of DEFINER-clause". Update test results.
This commit is contained in:
kostja@bodhi.local
2006-08-30 01:48:15 +04:00
parent f8d34e1030
commit 8566db3fc7
3 changed files with 5 additions and 11 deletions

View File

@ -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.