[Tarantool-patches] [PATCH 1/2] trigger: add trigger_is_set() method

Cyrill Gorcunov gorcunov at gmail.com
Mon Apr 13 13:00:21 MSK 2020


On Mon, Apr 13, 2020 at 12:53:45PM +0300, Serge Petrenko wrote:
> > 
> > so that trigger_clear won't fail without if statement?
> 
> This is doing the same as trigger_create(&&on_close_log);

Yes, except it eliminates redundant trigger_create call :)

> Let’s just omit the if statement then together with the patch
> adding trigger_is_set()?

Yeah, sounds good, lets do it.


More information about the Tarantool-patches mailing list