• Alexander Barkov's avatar
    MDEV-28387 UBSAN: runtime error: negation of -9223372036854775808 cannot be... · 7c4c0823
    Alexander Barkov authored
    MDEV-28387 UBSAN: runtime error: negation of -9223372036854775808 cannot be represented in type 'long long int'; cast to an unsigned type to negate this value to itself in my_strtoll10 on SELECT
    
    Fixing the condition to raise an overflow in the ulonglong
    representation of the number is greater or equal to 0x8000000000000000ULL.
    Before this change the condition did not catch -9223372036854775808
    (the smallest possible signed negative longlong number).
    7c4c0823
func_str.result 193 KB