mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SCRAM Remove spaces from most changed files.
This alters not only my code so it looks like I'm not only one adding the spaces.
This commit is contained in:
@ -1279,7 +1279,8 @@ String *Item_func_password::val_str(String *str)
|
|||||||
return 0;
|
return 0;
|
||||||
if (res->length() == 0)
|
if (res->length() == 0)
|
||||||
return &empty_string;
|
return &empty_string;
|
||||||
make_scrambled_password(tmp_value,res->c_ptr(),opt_old_passwords,¤t_thd->rand);
|
make_scrambled_password(tmp_value,res->c_ptr(),opt_old_passwords,
|
||||||
|
¤t_thd->rand);
|
||||||
str->set(tmp_value,get_password_length(opt_old_passwords),res->charset());
|
str->set(tmp_value,get_password_length(opt_old_passwords),res->charset());
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user