From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9369C2A7C7 for ; Thu, 28 Mar 2019 08:08:02 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tUtvvq6iUJ9s for ; Thu, 28 Mar 2019 08:08:02 -0400 (EDT) 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 turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 47E5729C65 for ; Thu, 28 Mar 2019 08:08:02 -0400 (EDT) From: Nikita Pettik Subject: [tarantool-patches] [PATCH v2 0/4] Introduce ALTER TABLE ADD CONSTRAINT PK/UNIQUE Date: Thu, 28 Mar 2019 15:07:54 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Nikita Pettik Branch: https://github.com/tarantool/tarantool/tree/np/gh-3914-fix-create-index-v2 Issue: https://github.com/tarantool/tarantool/issues/3914 These patches haven't been significantly changed since previous version. The main change is rebase on fresh 2.1.1 Nikita Pettik (4): sql: rework ALTER TABLE grammar sql: refactor getNewIid() function sql: fix error message for improperly created index sql: introduce ALTER TABLE ADD CONSTRAINT UNIQUE/PRIMARY KEY src/box/sql/build.c | 99 +++++++++++++++++++++++++++----------------- src/box/sql/parse.y | 41 ++++++++++++++---- test/sql-tap/alter.test.lua | 57 ++++++++++++++++++++++++- test/sql-tap/alter2.test.lua | 2 +- test/sql-tap/index1.test.lua | 28 ++++++++++++- 5 files changed, 180 insertions(+), 47 deletions(-) -- 2.15.1