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 C9FF229076 for ; Thu, 15 Mar 2018 14:22:15 -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 2J74TaBmJpCq for ; Thu, 15 Mar 2018 14:22:15 -0400 (EDT) Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (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 E5C9328FC0 for ; Thu, 15 Mar 2018 14:22:14 -0400 (EDT) From: Kirill Yukhin Subject: [tarantool-patches] [PATCH 0/2] Refactor SQL initialization, block triggers in transaction Date: Thu, 15 Mar 2018 21:21:38 +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: Kirill Yukhin Issue: https://github.com/tarantool/tarantool/issues Branch: kyukhin/gh-3239-ddl-trigger Kirill Yukhin (2): sql: refactor initialization routines sql: block trigger creation inside a transaction src/box/alter.cc | 15 +++ src/box/alter.h | 1 + src/box/schema.cc | 2 +- src/box/sql.c | 16 +--- src/box/sql/analyze.c | 7 +- src/box/sql/build.c | 42 +++------ src/box/sql/main.c | 203 ++++++++++++----------------------------- src/box/sql/parse.c | 147 ++++++++++++++--------------- src/box/sql/parse.y | 2 + src/box/sql/pragma.c | 3 +- src/box/sql/prepare.c | 53 ----------- src/box/sql/sqlite3.h | 7 +- src/box/sql/sqliteInt.h | 2 - src/box/sql/trigger.c | 5 +- src/box/sql/vdbe.c | 1 - test/sql-tap/trigger1.test.lua | 25 ++++- test/sql-tap/trigger9.test.lua | 77 +++++++++------- 17 files changed, 242 insertions(+), 366 deletions(-) -- 2.11.0