MDEV-4224 : func_math test fails, when clang 3.0 compiler is used.
The reason for the problem was negation of signed longlong value LONGLON G_MIN in Item_func_neg::int_op() - the result of this operation is not defined (in C/C++ standard). With this patch, LONGLONG_MIN is handled as special value, and negation is avoided.
Showing
Please register or sign in to comment