• Alexander Barkov's avatar
    Bug#54661 sha2() returns BINARY result · d8f0af45
    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
    d8f0af45
item_strfunc.cc 98 KB