Среда, 4 августа 2021, 17:16 +03:00 от Kirill Yukhin via Tarantool-patches <tarantool-patches@dev.tarantool.org>:
Hello,
On 04 авг 11:32, imeevma@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