From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 691AC4696C3 for ; Thu, 9 Apr 2020 11:18:24 +0300 (MSK) Received: by mail-lf1-f65.google.com with SMTP id s13so7230004lfb.9 for ; Thu, 09 Apr 2020 01:18:24 -0700 (PDT) Date: Thu, 9 Apr 2020 11:18:22 +0300 From: Konstantin Osipov Message-ID: <20200409081822.GA21437@atlas> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 1/2] vinyl: init all vars before cleanup in vy_lsm_split_range() List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Nikita Pettik [20/04/09 00:39]: > + struct errinj *inj = errinj(ERRINJ_VY_MAX_TUPLE_SIZE, ERRINJ_INT); > + if (inj != NULL && inj->iparam >= 0) { > + if (inj->iparam-- == 0) > + total_size = vy_max_tuple_size + 1; > + } shouldn't this be under #ifdef The patch is LGTM, please solicit another review. -- Konstantin Osipov, Moscow, Russia