mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
followup to SET PASSWORD fix
This commit is contained in:
parent
c105f1ed8b
commit
e8d23cfa26
1 changed files with 1 additions and 1 deletions
|
@ -1149,7 +1149,7 @@ bool check_change_password(THD *thd, const char *host, const char *user,
|
|||
return(1);
|
||||
}
|
||||
uint len=strlen(new_password);
|
||||
if (len != SCRAMBLED_PASSWORD_CHAR_LENGTH &&
|
||||
if (len && len != SCRAMBLED_PASSWORD_CHAR_LENGTH &&
|
||||
len != SCRAMBLED_PASSWORD_CHAR_LENGTH_323)
|
||||
{
|
||||
net_printf(thd, 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue