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 A1966440F3C for ; Tue, 12 Nov 2019 17:03:02 +0300 (MSK) From: Roman Khabibov Date: Tue, 12 Nov 2019 17:02:57 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] Add constraint names hash table to space List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Cc: v.shpilevoy@tarantool.org I know, that this patchset requires more tests. I will add them in the next answer. For now look at the code. Roman Khabibov (2): box: introduce constraint names hash table sql: make constraint operations transactional src/box/alter.cc | 254 +++++++++++++++++++++++++++++-- src/box/space.c | 46 ++++++ src/box/space.h | 40 +++++ test/sql-tap/constraint.test.lua | 244 +++++++++++++++++++++++++++++ 4 files changed, 574 insertions(+), 10 deletions(-) create mode 100755 test/sql-tap/constraint.test.lua -- Issue: https://github.com/tarantool/tarantool/issues/3503 Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3503-constr-names_v3 2.21.0 (Apple Git-122)