• gkodinov/kgeorge@macbook.gmz's avatar
    Bug #19342: · be755931
    gkodinov/kgeorge@macbook.gmz authored
    Several problems here :
     1. The conversion to double of an hex string const item
     was not taking into account the unsigned flag.
     
     2. IN was not behaving in the same was way as comparisons
     when performed over an INT/DATE/DATETIME/TIMESTAMP column
     and a constant. The ordinary comparisons in that case 
     convert the constant to an INTEGER value and do int 
     comparisons. Fixed the IN to do the same.
     
     3. IN is not taking into account the unsigned flag when 
     calculating <expr> IN (<int_const1>, <int_const2>, ...).
     Extended the implementation of IN to store and process
     the unsigned flag for its arguments.
    be755931
item_cmpfunc.cc 101 KB