From: Nikita Pettik <korablev@tarantool.org> To: tarantool-patches@freelist.org Cc: tarantool-patches@freelists.org, Nikita Pettik <korablev@tarantool.org> Subject: [tarantool-patches] [PATCH v2 0/2] Introduce 'view' space option Date: Tue, 27 Mar 2018 02:03:31 +0300 [thread overview] Message-ID: <cover.1522092593.git.korablev@tarantool.org> (raw) Branch: https://github.com/tarantool/tarantool/tree/np/gh-3268-introduce-view Issue: https://github.com/tarantool/tarantool/issues/3268 Changelog: - Added tests to check that view can't be created via Lua 'create_space' function, and to check that view can be created by direct insertion to _space. - Implemented SQL follow-up patch to remove TF_View flag and to fetch 'view' property from SQL. Nikita Pettik (2): Introduce 'view' space option sql: use 'view' opts from space src/box/alter.cc | 7 ++++ src/box/errcode.h | 3 +- src/box/space_def.c | 7 ++++ src/box/space_def.h | 6 +++ src/box/sql.c | 9 +++- src/box/sql/alter.c | 4 +- src/box/sql/build.c | 27 ++++++++---- src/box/sql/delete.c | 2 +- src/box/sql/fkey.c | 3 +- src/box/sql/insert.c | 10 +++-- src/box/sql/parse.c | 4 +- src/box/sql/parse.y | 5 +-- src/box/sql/select.c | 4 +- src/box/sql/sqliteInt.h | 5 ++- src/box/sql/trigger.c | 4 +- src/box/sql/update.c | 2 +- src/box/sql/vdbeaux.c | 2 +- src/box/sql/where.c | 3 +- test/box/misc.result | 1 + test/sql/transition.result | 7 ---- test/sql/transition.test.lua | 4 -- test/sql/view.result | 98 ++++++++++++++++++++++++++++++++++++++++++++ test/sql/view.test.lua | 46 +++++++++++++++++++++ 23 files changed, 220 insertions(+), 43 deletions(-) create mode 100644 test/sql/view.result create mode 100644 test/sql/view.test.lua -- 2.15.1
next reply other threads:[~2018-03-26 23:03 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-26 23:03 Nikita Pettik [this message] 2018-03-26 23:03 ` [tarantool-patches] [PATCH v2 1/2] " Nikita Pettik 2018-03-27 6:02 ` [tarantool-patches] " Konstantin Osipov 2018-03-27 11:04 ` n.pettik 2018-03-26 23:03 ` [tarantool-patches] [PATCH v2 2/2] sql: use 'view' opts from space Nikita Pettik 2018-03-27 6:04 ` [tarantool-patches] " Konstantin Osipov 2018-03-27 11:05 ` n.pettik 2018-03-27 11:35 ` [tarantool-patches] Re: [PATCH v2 0/2] Introduce 'view' space option v.shpilevoy
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.1522092593.git.korablev@tarantool.org \ --to=korablev@tarantool.org \ --cc=tarantool-patches@freelist.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH v2 0/2] Introduce '\''view'\'' space option' \ /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