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 38C0E25849 for ; Fri, 19 Jul 2019 18:48:01 -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 1vg63XBTPWwt for ; Fri, 19 Jul 2019 18:48:01 -0400 (EDT) Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (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 8B80B25848 for ; Fri, 19 Jul 2019 18:48:00 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/2] SQL TXN DDL Date: Sat, 20 Jul 2019 00:49:39 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: korablev@tarantool.org The patchset uses recently introduced transactional DDL in SQL. Nothing more to say, the goals are quite obvious. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4086-sql-txn-ddl Issue: https://github.com/tarantool/tarantool/issues/4086 Vladislav Shpilevoy (2): alter: do not access space in drop ck commit trigger sql: transactional DDL src/box/alter.cc | 49 +--- src/box/space.c | 32 +++ src/box/space.h | 17 ++ src/box/sql/build.c | 159 ++----------- src/box/sql/parse.y | 12 +- src/box/sql/prepare.c | 1 - src/box/sql/sqlInt.h | 7 +- src/box/sql/trigger.c | 6 +- src/box/sql/vdbe.c | 19 +- test/sql/ddl.result | 356 +++++++++++++++++++++++++++++ test/sql/ddl.test.lua | 187 +++++++++++++++ test/sql/errinj.result | 50 ---- test/sql/errinj.test.lua | 22 -- test/sql/view_delayed_wal.result | 12 +- test/sql/view_delayed_wal.test.lua | 8 +- 15 files changed, 654 insertions(+), 283 deletions(-) create mode 100644 test/sql/ddl.result create mode 100644 test/sql/ddl.test.lua -- 2.20.1 (Apple Git-117)