mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Merge bk-internal:/home/bk/mysql-3.23/
into serg.mylan:/usr/home/serg/Abk/mysql
This commit is contained in:
commit
2fd6684928
1 changed files with 2 additions and 2 deletions
|
|
@ -206,10 +206,10 @@ int acl_init(bool dont_read_acl_tables)
|
|||
"Found old style password for user '%s'. Ignoring user. (You may want to restart using --old-protocol)",
|
||||
user.user ? user.user : ""); /* purecov: tested */
|
||||
}
|
||||
else if (length % 8) // This holds true for passwords
|
||||
else if (length % 8 || length > 16)
|
||||
{
|
||||
sql_print_error(
|
||||
"Found invalid password for user: '%s@%s'; Ignoring user",
|
||||
"Found invalid password for user: '%s'@'%s'; Ignoring user",
|
||||
user.user ? user.user : "",
|
||||
user.host.hostname ? user.host.hostname : ""); /* purecov: tested */
|
||||
continue; /* purecov: tested */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue