On 20 Apr 2018, at 18:09, Hollow111 <hollow653@gmail.com> wrote:

Yes, that's true this code is needed if any of the 
cases in if-clause != 0. But the point is that in Tarantool
there's always a PRIMARY KEY that is obviously unique
which means that the second case is always != 0 and
the result of the boolean expression is always not 0,
hence there's no reason for this if-check.

Ok, I got it. You are right: I misunderstood conditions under if-clause.