mirror of
https://github.com/MariaDB/server.git
synced 2025-08-15 22:37:22 +00:00
Merge 10.4 into 10.5
This commit is contained in:
@ -1795,9 +1795,10 @@ ret_sign:
|
||||
{
|
||||
if (negative)
|
||||
{
|
||||
if (ull > (ulonglong) LONGLONG_MIN)
|
||||
if (ull >= (ulonglong) LONGLONG_MIN)
|
||||
{
|
||||
*error= MY_ERRNO_ERANGE;
|
||||
if (ull != (ulonglong) LONGLONG_MIN)
|
||||
*error= MY_ERRNO_ERANGE;
|
||||
return (ulonglong) LONGLONG_MIN;
|
||||
}
|
||||
*error= 0;
|
||||
|
Reference in New Issue
Block a user