From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 43EF546970E for ; Wed, 25 Dec 2019 15:17:35 +0300 (MSK) Date: Wed, 25 Dec 2019 15:17:33 +0300 From: Nikita Pettik Message-ID: <20191225121733.GC18639@tarantool.org> References: <79354099f03b9efe3a300ef4fd2c7d934876ae7b.1576071711.git.korablev@tarantool.org> <33e3b5df-45c3-83ff-3d0b-cbc1af6a1bae@tarantool.org> <20191224002621.GA31231@tarantool.org> <8e77686c-a97a-0781-7534-a4c556222291@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8e77686c-a97a-0781-7534-a4c556222291@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2 5/6] sql: extend result set with autoincrement List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On 24 Dec 16:30, Vladislav Shpilevoy wrote: > Thanks for the patch! > > I've pushed my review fix on top of this commit. See it below > and on the branch. Thanks, I've squashed your review fixes. Are the rest of patches (except last one) LGTM? If so, I'd like to push them to focus on the last. > commit 53fd4b3b3a27cf99c6c7a71a085574b2fd8a0dc7 > Author: Vladislav Shpilevoy > Date: Tue Dec 24 15:56:24 2019 +0100 > > Review fix 5/6 > > diff --git a/src/box/sql/select.c b/src/box/sql/select.c > index ddb2509f4..a19494ed9 100644 > --- a/src/box/sql/select.c > +++ b/src/box/sql/select.c > @@ -1847,7 +1847,7 @@ generate_column_metadata(struct Parse *pParse, struct SrcList *pTabList, > vdbe_metadata_set_col_nullability(v, i, > is_nullable); > if (space->sequence != NULL && > - space->sequence_fieldno == iCol) > + space->sequence_fieldno == (uint32_t) iCol) > vdbe_metadata_set_col_autoincrement(v, i); > } > } else {