• Alexander Barkov's avatar
    Bug#55744 GROUP_CONCAT + CASE + ucs return garbage · 401e6c90
    Alexander Barkov authored
    Problem: CASE didn't work with a mixture of different character
    sets in THEN/ELSE in some cases.
    This happened because after character set aggregation
    newly created Item_func_conv_charset items corresponding
    to THEN/ELSE arguments were not put back to args[] array.
    
    Fix:
    put all Item_func_conv_charset back to args[].
    
    
      @ mysql-test/include/ctype_numconv.inc
      @ mysql-test/r/ctype_ucs.result
      Adding tests
    
      @ sql/item_cmpfunc.cc
      Put "agg" back to args[] after character set aggregation.
    401e6c90
item_cmpfunc.cc 145 KB