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

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


On 24 Dec 10:48, Nikita Pettik via Tarantool-patches wrote:
> 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.
>

Pushed to master, 2.6 and 2.5; updated chagelogs correspondingly; branch
is dropped. Thx.
  


More information about the Tarantool-patches mailing list