maria-developers team mailing list archive
Mailing list archive
Re: MDEV-9372 select 100 between 1 and 9223372036854775808 returns false
On Apr 20, Alexander Barkov wrote:
> Hi Sergei,
> Please review a patch for MDEV-9372.
> commit b3df1c60a294fe906ca5dba804ee0c1f218a1728
> Author: Alexander Barkov <bar@xxxxxxxxxxx>
> Date: Wed Apr 20 12:08:36 2016 +0400
> MDEV-9372 select 100 between 1 and 9223372036854775808 returns false
> Integer comparison of INT expressions with different signess in BETWEEN
> is not safe. Switching to DECIMAL comparison in case if INT arguments
> have different signess.
ok to push
Chief Architect MariaDB