From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 F111746970E for ; Fri, 24 Jan 2020 17:21:27 +0300 (MSK) From: Roman Khabibov Date: Fri, 24 Jan 2020 17:21:22 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] Support List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org The first patch is the little refactoring to reduce code. The second one is about the sql operation itself. Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-4120-drop-constraint Issue: https://github.com/tarantool/tarantool/issues/4120 Roman Khabibov (2): sql: refactor index drop code sql: support constraint drop src/box/constraint_id.h | 1 + src/box/errcode.h | 2 +- src/box/sql/alter.c | 2 +- src/box/sql/build.c | 138 ++++++++++++++++++++--------------- src/box/sql/parse.y | 4 +- src/box/sql/parse_def.h | 15 ++-- src/box/sql/sqlInt.h | 6 +- test/sql-tap/alter2.test.lua | 2 +- test/sql/checks.result | 2 +- test/sql/constraint.result | 67 +++++++++++++++++ test/sql/constraint.test.lua | 24 ++++++ 11 files changed, 187 insertions(+), 76 deletions(-) -- 2.21.0 (Apple Git-122)