[Tarantool-patches] [PATCH v1 1/1] sql: do not reset region on select

Nikita Pettik korablev at tarantool.org
Thu Dec 24 13:48:38 MSK 2020


On 23 Dec 22:15, imeevma at tarantool.org wrote:
> Prior to this patch, region on fiber was reset during select(), get(),
> count(), max(), or min(). This would result in an error if one of these
> operations was used in a user-defined function in SQL. After this patch,
> these functions truncate region instead of resetting it.
> 
> Closes #5427
> ---
> https://github.com/tarantool/tarantool/issues/5427
> https://github.com/tarantool/tarantool/tree/imeevma/gh-5427-lua-func-changes-result
> 
> @ChangeLog
>  - Fixed memory corruption when SQL called Lua functions with box calls inside (gh-5427).

Nice fix, LGTM.
 


More information about the Tarantool-patches mailing list