• unknown's avatar
    Bug#23409: Arguments of the ENCODE() and the DECODE() functions were not printed · 52c100ae
    unknown authored
    correctly.
    
    The Item_func::print method was used to print the Item_func_encode and the
    Item_func_decode objects. The last argument to ENCODE and DECODE functions
    is a plain C string and thus Item_func::print wasn't able to print it.
    
    The print() method is added to the Item_func_encode class. It correctly
    prints the Item_func_encode and the Item_func_decode objects.
    
    
    mysql-test/t/func_str.test:
      Added a test case for bug#23409: Arguments of the ENCODE() and the
      > DECODE() functionswere not printed correctly.
    mysql-test/r/func_str.result:
      Added a test case for bug#23409: Arguments of the ENCODE() and the DECODE() functions were not printed correctly.
    sql/item_strfunc.h:
      Bug#23409: Arguments of the ENCODE() and the DECODE() functions were not printed correctly.
      The print() method is added to the Item_func_encode class.
    sql/item_strfunc.cc:
      Bug#23409: Arguments of the ENCODE() and the DECODE() functions were not printed correctly.
      The print() method is added to the Item_func_encode class. It correctly
      prints the Item_func_encode and the Item_func_decode objects.
    52c100ae
func_str.result 49.6 KB