[Tarantool-patches] [PATCH v1 1/1] sql: fix cast of small negative DOUBLE to INTEGER
Kirill Yukhin
kyukhin at tarantool.org
Wed Aug 4 17:02:42 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
The patch LGTM.
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list