[Tarantool-patches] [PATCH v2 0/3] Fix explicit casts

Kirill Yukhin kyukhin at tarantool.org
Wed Aug 4 17:16:25 MSK 2021


Hello,

On 04 авг 11:32, imeevma at tarantool.org wrote:
> This patch fixes the explicit cast to comply with the new rules. According to
> these rules, BOOLEAN and VARBINARY can no longer be cast to numeric types.
> 
> https://github.com/tarantool/tarantool/issues/4470
> https://github.com/tarantool/tarantool/tree/imeevma/gh-4470-fix-explicit-cast
> 
> Changes in v2:
>  - Change of str_to_bool() were moved in new patch.
> 
> Mergen Imeev (3):
>   sql: disallow explicit cast of BOOLEAN to number
>   sql: disallow explicit cast of VARBINARY to number
>   sql: fix STRING to BOOLEAN explicit cast

The patch set LGTM.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list