• mithun's avatar
    Bug #19372926 : 5.5.38 FAILS FUNC_MATH MTR TEST. · 73b99f05
    mithun authored
    Issue :
    -------
    This seems for some platform -(LONGLONG_MIN) is
    not flagged as out of range.
    
    Fix:
    ----
    Fix is backported from mysql-5.6 bug 14314156.
    Fixed by adding an explicit test for this value in
    Item_func_neg::int_op().
    
    sql/item_func.cc:
      For some platforms we need special handling of
      LONGLONG_MIN to guarantee overflow.
    73b99f05
item_func.h 54 KB