mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -759,7 +759,10 @@ ulonglong my_strntoull_8bit(CHARSET_INFO *cs,
|
||||
return (~(ulonglong) 0);
|
||||
}
|
||||
|
||||
return (negative ? -((longlong) i) : (longlong) i);
|
||||
/* Avoid undefinite behavior - negation of LONGLONG_MIN */
|
||||
return negative && (longlong) i != LONGLONG_MIN ?
|
||||
-((longlong) i) :
|
||||
(longlong) i;
|
||||
|
||||
noconv:
|
||||
err[0]= EDOM;
|
||||
|
Reference in New Issue
Block a user