mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Additional fix for #13573
This commit is contained in:
@ -1986,7 +1986,11 @@ int decimal_mul(decimal_t *from1, decimal_t *from2, decimal_t *to)
|
|||||||
carry+=hi;
|
carry+=hi;
|
||||||
}
|
}
|
||||||
for (; carry; buf0--)
|
for (; carry; buf0--)
|
||||||
|
{
|
||||||
|
if (buf0 < to->buf)
|
||||||
|
return E_DEC_OVERFLOW;
|
||||||
ADD(*buf0, *buf0, 0, carry);
|
ADD(*buf0, *buf0, 0, carry);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now we have to check for -0.000 case */
|
/* Now we have to check for -0.000 case */
|
||||||
|
Reference in New Issue
Block a user