Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] sql: refactor DELETE STMT translation
@ 2018-05-16 15:24 Kirill Yukhin
  2018-05-16 15:24 ` [tarantool-patches] [PATCH 1/2] sql: allow key_def to be NULL for ephemeral create Kirill Yukhin
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Kirill Yukhin @ 2018-05-16 15:24 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches, Kirill Yukhin

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-05-18 11:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16 15:24 [tarantool-patches] [PATCH 0/2] sql: refactor DELETE STMT translation Kirill Yukhin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox