Bug #26704451: INCORRECT BEHAVIOR WITH USE OF CERTAIN

               CHARSETS AND SHA2

Missed pushing to 5.5.
parent 9ae160af
......@@ -266,9 +266,9 @@ String *Item_func_sha2::val_str_ascii(String *str)
size_t input_len;
uint digest_length= 0;
input_string= args[0]->val_str(str);
str->set_charset(&my_charset_bin);
input_string= args[0]->val_str(str);
if (input_string == NULL)
{
null_value= TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment