• unknown's avatar
    a fix (bug #10599: Numeric function 'abs' make server crash). · 4387f4d9
    unknown authored
    
    sql/item_func.cc:
      a fix (bug #10599: Numeric function 'abs' make server crash).
      Item_func_abs::decimal_op() now returns 0 if NULL.                              
      trivial optimization - get rid of an extra jump for common situations.          
      fixed Item_func_neg::decimal_op() return value if NULL.
    4387f4d9
item_func.cc 118 KB