• bar@bar.mysql.r18.ru's avatar
    Row comparison now does compare field collations, e.g. · 07f94cb7
    bar@bar.mysql.r18.ru 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.
    07f94cb7
item_cmpfunc.h 22.4 KB