From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp36.i.mail.ru (smtp36.i.mail.ru [94.100.177.96]) (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 C0175469719 for ; Thu, 5 Mar 2020 00:09:47 +0300 (MSK) Date: Wed, 4 Mar 2020 21:09:46 +0000 From: Nikita Pettik Message-ID: <20200304210946.GA9655@tarantool.org> References: <20200303101204.16338-1-roman.habibov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200303101204.16338-1-roman.habibov@tarantool.org> 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, v.shpilevoy@tarantool.org On 03 Mar 13:12, Roman Khabibov wrote: > @ChangeLog > - Add ability to drop any table constraint with > . > - Display table name in "no such constraint" error message. Pushed to master, updated changelog. Thanks. > 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(-) > > -- > 2.21.0 (Apple Git-122) >