[Tarantool-patches] [PATCH v1 1/1] sql: fix cast of small negative DOUBLE to INTEGER

Kirill Yukhin kyukhin at tarantool.org
Thu Aug 5 12:36:58 MSK 2021


Hello,

On 04 авг 11:24, imeevma at tarantool.org wrote:
> Prior to this patch when DOUBLE value that less than 0.0 and greater
> than -1.0 was cast to INTEGER, it was considered to be negative number
> though the result was 0. This patch fixes this, so now such DOUBLE
> value will be properly cast to INTEGER and UNSIGNED.
> 
> Closes #6225
> ---
> https://github.com/tarantool/tarantool/issues/6225
> https://github.com/tarantool/tarantool/tree/imeevma/gh-6225-cast-of-small-negative-double-to-int

I've checked your patch into 2.7, 2.8 and master.

--
Regards, Kirill


More information about the Tarantool-patches mailing list