From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Kirill Shcherbatov <kshcherbatov@tarantool.org>,
tarantool-patches@freelists.org,
Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH v3 00/10] sql: remove Triggers to server
Date: Wed, 20 Jun 2018 11:35:22 +0300 [thread overview]
Message-ID: <aaf4c64c-d407-72fb-afa5-e8501943e74b@tarantool.org> (raw)
In-Reply-To: <cover.1528997527.git.kshcherbatov@tarantool.org>
Now the patchset LGTM.
Nikita, please, review.
On 14/06/2018 20:32, Kirill Shcherbatov wrote:
> Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-3273-no-sql-triggers
> Issue: https://github.com/tarantool/tarantool/issues/3273
>
> Kirill Shcherbatov (10):
> box: move db->pShchema init to sql_init
> sql: fix leak on CREATE TABLE and resolve self ref
> sql: fix sql len in tarantoolSqlite3RenameTrigger
> box: port schema_find_id to C
> sql: refactor sql_expr_compile to return AST
> sql: move sqlite3DeleteTrigger to sql.h
> box: sort error codes in misc.test
> sql: new _trigger space format with space_id
> sql: move Triggers to server
> sql: VDBE tests for trigger existence
>
> src/box/alter.cc | 134 ++++++++-
> src/box/bootstrap.snap | Bin 1698 -> 1704 bytes
> src/box/errcode.h | 2 +-
> src/box/lua/schema.lua | 4 +
> src/box/lua/upgrade.lua | 4 +
> src/box/schema.cc | 54 +++-
> src/box/schema.h | 23 +-
> src/box/schema_def.h | 6 +
> src/box/space.c | 5 +
> src/box/space.h | 2 +
> src/box/sql.c | 85 ++----
> src/box/sql.h | 66 ++++-
> src/box/sql/build.c | 59 +++-
> src/box/sql/callback.c | 7 +-
> src/box/sql/fkey.c | 2 -
> src/box/sql/insert.c | 6 +-
> src/box/sql/main.c | 10 +-
> src/box/sql/prepare.c | 2 +
> src/box/sql/sqliteInt.h | 30 +-
> src/box/sql/status.c | 6 +-
> src/box/sql/tokenize.c | 50 +++-
> src/box/sql/trigger.c | 320 ++++++++++----------
> src/box/sql/vdbe.c | 87 ++----
> src/box/sql/vdbe.h | 3 +-
> src/box/sql/vdbeapi.c | 5 +-
> src/box/sql/vdbeaux.c | 13 +-
> src/box/user.cc | 4 +-
> src/diag.h | 3 +
> test/app-tap/tarantoolctl.test.lua | 2 +-
> test/box-py/bootstrap.result | 5 +-
> test/box/access_misc.result | 4 +-
> test/box/access_sysview.result | 4 +-
> test/box/alter.result | 1 +
> test/box/misc.result | 326 +++++++++++----------
> test/box/misc.test.lua | 4 +-
> test/engine/iterator.result | 2 +-
> test/sql-tap/identifier_case.test.lua | 4 +-
> test/sql-tap/trigger1.test.lua | 14 +-
> test/sql/gh2141-delete-trigger-drop-table.result | 4 +-
> test/sql/gh2141-delete-trigger-drop-table.test.lua | 4 +-
> test/sql/persistency.result | 8 +-
> test/sql/persistency.test.lua | 8 +-
> test/sql/triggers.result | 255 ++++++++++++++++
> test/sql/triggers.test.lua | 92 ++++++
> test/sql/upgrade.result | 37 ++-
> test/sql/upgrade.test.lua | 9 +-
> 46 files changed, 1205 insertions(+), 570 deletions(-)
> create mode 100644 test/sql/triggers.result
> create mode 100644 test/sql/triggers.test.lua
>
next prev parent reply other threads:[~2018-06-20 8:35 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 17:32 [tarantool-patches] " Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 01/10] box: move db->pShchema init to sql_init Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 10/10] sql: VDBE tests for trigger existence Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-15 16:21 ` Kirill Shcherbatov
2018-06-18 15:42 ` Vladislav Shpilevoy
2018-06-18 19:22 ` Kirill Shcherbatov
2018-06-19 10:24 ` Vladislav Shpilevoy
2018-06-19 15:12 ` Kirill Shcherbatov
2018-06-19 15:23 ` Vladislav Shpilevoy
2018-06-20 6:38 ` Kirill Shcherbatov
2018-06-20 8:10 ` Vladislav Shpilevoy
2018-06-20 8:24 ` Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 02/10] sql: fix leak on CREATE TABLE and resolve self ref Kirill Shcherbatov
2018-06-14 22:46 ` [tarantool-patches] " n.pettik
2018-06-15 9:25 ` Vladislav Shpilevoy
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 03/10] sql: fix sql len in tarantoolSqlite3RenameTrigger Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 04/10] box: port schema_find_id to C Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-14 22:46 ` n.pettik
2018-06-15 9:25 ` Vladislav Shpilevoy
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 05/10] sql: refactor sql_expr_compile to return AST Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-15 16:21 ` Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 06/10] sql: move sqlite3DeleteTrigger to sql.h Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 07/10] box: sort error codes in misc.test Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 08/10] sql: new _trigger space format with space_id Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-15 16:21 ` Kirill Shcherbatov
2018-06-14 17:32 ` [tarantool-patches] [PATCH v3 09/10] sql: move Triggers to server Kirill Shcherbatov
2018-06-14 19:27 ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-15 16:21 ` Kirill Shcherbatov
2018-06-18 15:42 ` Vladislav Shpilevoy
2018-06-18 19:22 ` Kirill Shcherbatov
2018-06-14 17:34 ` [tarantool-patches] Re: [PATCH v3 00/10] sql: remove " Kirill Shcherbatov
2018-06-20 8:35 ` Vladislav Shpilevoy [this message]
2018-06-28 15:47 ` n.pettik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aaf4c64c-d407-72fb-afa5-e8501943e74b@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=korablev@tarantool.org \
--cc=kshcherbatov@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH v3 00/10] sql: remove Triggers to server' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox