error message fixed (new error code will be introduced in 4.1)
This commit is contained in:
parent
98b953fddf
commit
556bb7bb3d
@ -995,7 +995,9 @@ static int replace_user_table(TABLE *table, const LEX_USER &combo,
|
|||||||
{
|
{
|
||||||
if (combo.password.length != HASH_PASSWORD_LENGTH)
|
if (combo.password.length != HASH_PASSWORD_LENGTH)
|
||||||
{
|
{
|
||||||
my_error(ER_PASSWORD_NO_MATCH,MYF(0));
|
my_printf_error(ER_PASSWORD_NO_MATCH,
|
||||||
|
"Password hash should be a %d-digit hexadecimal number",
|
||||||
|
MYF(0),HASH_PASSWORD_LENGTH);
|
||||||
DBUG_RETURN(-1);
|
DBUG_RETURN(-1);
|
||||||
}
|
}
|
||||||
password=combo.password.str;
|
password=combo.password.str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user