• unknown's avatar
    Row comparison now does compare field collations, e.g. · a584a021
    unknown authored
      ROW('a','b','c) = ROW('A' collate latin1_bin,'b','c') returns 0
    When a number is compared to a string, character sets and 
    collations are not aggregated. e.g. this returned error in 4.1.0:
    
    SELECT 1=_latin2'1';
    because character sets was aggregated, and 1 was considered as
    a string of latin1 charset during this aggregation.
    
    a584a021
func_str.test 12.4 KB