From: Kirill Yukhin <kyukhin@tarantool.org> To: v.shpilevoy@tarantool.org Cc: tarantool-patches@freelists.org, Kirill Yukhin <kyukhin@tarantool.org> Subject: [tarantool-patches] [PATCH 0/2] sql: refactor DELETE STMT translation Date: Wed, 16 May 2018 18:24:52 +0300 [thread overview] Message-ID: <cover.1526483543.git.kyukhin@tarantool.org> (raw) Issue: https://github.com/tarantool/tarantool/issues/3235 Branch: https://github.com/tarantool/tarantool/tree/kyukhin/gh-3235-refactor-delete-3 This two-patch set refactors SQL DELETE statements translation. It allows not to create dummy key_defs and passing NULL instead to OP_OpenTEphemeral. It also make box/sql/delete.c obey Tarantool coding style. Part of #3235 Kirill Yukhin (2): sql: allow key_def to be NULL for ephemeral create sql: refactor delete routines src/box/sql.c | 7 +- src/box/sql/build.c | 6 +- src/box/sql/delete.c | 1046 ++++++++++++++++++----------------------------- src/box/sql/fkey.c | 3 +- src/box/sql/insert.c | 33 +- src/box/sql/parse.y | 2 +- src/box/sql/select.c | 19 +- src/box/sql/sqliteInt.h | 202 ++++++++- src/box/sql/trigger.c | 12 +- src/box/sql/update.c | 16 +- src/box/sql/vdbe.c | 11 +- src/box/sql/vdbeaux.c | 7 +- 12 files changed, 630 insertions(+), 734 deletions(-) -- 2.16.2
next reply other threads:[~2018-05-16 15:25 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-16 15:24 Kirill Yukhin [this message] 2018-05-16 15:24 ` [tarantool-patches] [PATCH 1/2] sql: allow key_def to be NULL for ephemeral create Kirill Yukhin 2018-05-17 15:49 ` [tarantool-patches] " Kirill Yukhin 2018-05-17 16:47 ` Vladislav Shpilevoy 2018-05-18 6:57 ` Kirill Yukhin 2018-05-18 10:33 ` Vladislav Shpilevoy 2018-05-18 10:48 ` Kirill Yukhin 2018-05-18 10:50 ` Vladislav Shpilevoy 2018-05-16 15:24 ` [tarantool-patches] [PATCH 2/2] sql: refactor delete routines Kirill Yukhin 2018-05-16 16:29 ` [tarantool-patches] " Kirill Yukhin 2018-05-17 14:23 ` Vladislav Shpilevoy 2018-05-17 15:48 ` Kirill Yukhin 2018-05-17 16:47 ` Vladislav Shpilevoy 2018-05-18 6:56 ` Kirill Yukhin 2018-05-18 10:33 ` Vladislav Shpilevoy 2018-05-17 15:18 ` Vladislav Shpilevoy 2018-05-18 11:01 ` [tarantool-patches] Re: [PATCH 0/2] sql: refactor DELETE STMT translation Kirill Yukhin
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=cover.1526483543.git.kyukhin@tarantool.org \ --to=kyukhin@tarantool.org \ --cc=tarantool-patches@freelists.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [tarantool-patches] [PATCH 0/2] sql: refactor DELETE STMT translation' \ /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