• Alexander Barkov's avatar
    Bug#54661 sha2() returns BINARY result · 00e86d01
    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
    00e86d01
item_strfunc.h 23.5 KB