• Alexander Barkov's avatar
    Bug#54661 sha2() returns BINARY result · a1a16aaa
    Alexander Barkov authored
    Problem: sha2() reported its result as BINARY
    
    Fix:
    - Inheriting Item_func_sha2 from Item_str_ascii_func
    - Setting max_length via fix_length_and_charset() 
      instead of direct assignment.
    - Adding tests
    a1a16aaa
item_strfunc.cc 98 KB