From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (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 C1C61469719 for ; Wed, 4 Mar 2020 01:13:11 +0300 (MSK) References: <20200303101204.16338-1-roman.habibov@tarantool.org> From: Vladislav Shpilevoy Message-ID: <41e6f2fd-304d-af32-d13f-5ce83fb56570@tarantool.org> Date: Tue, 3 Mar 2020 23:13:09 +0100 MIME-Version: 1.0 In-Reply-To: <20200303101204.16338-1-roman.habibov@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 0/3] Add ability to drop constraints List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roman Khabibov Cc: tarantool-patches@dev.tarantool.org Hi! Thanks for the patchset! On 03/03/2020 11:12, Roman Khabibov wrote: > @ChangeLog > - Add ability to drop any table constraint with > . > - Display table name in "no such constraint" error message. Almost ok. But template is different: @ChangeLog - Text description, probably multiline (gh-####). Also you seem to be very consistent with forgetting to put issue and branch links to your patchsets. Please, create a text document with a list of things to check before sending a patch (issue and branch links, changelog, check that the branch is pushed, etc), save it somewhere, and look at it before a send. I have such document, and it helps sometimes. LGTM. Nikita, your turn. > Roman Khabibov (3): > sql: improve "no such constraint" error message > sql: don't select from _index during parsing > sql: support constraint drop > > src/box/constraint_id.h | 1 + > src/box/errcode.h | 2 +- > src/box/space.h | 15 ++++ > src/box/sql/alter.c | 2 +- > src/box/sql/build.c | 145 ++++++++++++++++++++++------------- > src/box/sql/parse.y | 4 +- > src/box/sql/parse_def.h | 11 +-- > src/box/sql/pragma.c | 8 +- > src/box/sql/sqlInt.h | 7 +- > src/box/sql/vdbe.c | 10 ++- > test/sql-tap/alter2.test.lua | 2 +- > test/sql/checks.result | 2 +- > test/sql/constraint.result | 81 +++++++++++++++++++ > test/sql/constraint.test.lua | 28 +++++++ > 14 files changed, 241 insertions(+), 77 deletions(-) >