Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/2] Introduce 'view' space option
@ 2018-03-26 23:03 Nikita Pettik
  2018-03-26 23:03 ` [tarantool-patches] [PATCH v2 1/2] " Nikita Pettik
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nikita Pettik @ 2018-03-26 23:03 UTC (permalink / raw)
  To: tarantool-patches; +Cc: tarantool-patches, Nikita Pettik

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

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

end of thread, other threads:[~2018-03-27 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 23:03 [tarantool-patches] [PATCH v2 0/2] Introduce 'view' space option Nikita Pettik
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

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