Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/6] Remove string of SQL statement from opts
@ 2018-12-09 21:30 Nikita Pettik
  2018-12-09 21:30 ` [tarantool-patches] [PATCH 1/6] sql: avoid calling sql_encode_table_opts() during trigger creation Nikita Pettik
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Nikita Pettik @ 2018-12-09 21:30 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy, Nikita Pettik

Branch: https://github.com/tarantool/tarantool/tree/np/gh-2647-remove-sql-from-opts
Issue: https://github.com/tarantool/tarantool/issues/2647

After DD integration was finished, there is no need to add string
of SQL statement to space or index opts (except for VIEWs). So,
current patch-set completely removes SQL from index opts, and
removes SQL from space opts for ordinary spaces.

Nikita Pettik (6):
  sql: avoid calling sql_encode_table_opts() during trigger creation
  sql: don't update SQL string during renaming
  test: fix sqltester methods to drop all tables/views
  sql: don't add string of 'CREATE TABLE...' to space opts
  sql: don't add string of 'CREATE INDEX ...' to index opts
  Remove SQL string from index opts

 src/box/alter.cc                      |   9 --
 src/box/index_def.c                   |  20 ---
 src/box/index_def.h                   |   9 --
 src/box/sql.c                         | 181 +++-------------------
 src/box/sql/analyze.c                 |   5 +-
 src/box/sql/build.c                   | 277 ++--------------------------------
 src/box/sql/pragma.c                  |   2 -
 src/box/sql/sqliteInt.h               |   1 -
 src/box/sql/tarantoolInt.h            |   3 +-
 src/box/sql/trigger.c                 |  20 ++-
 src/box/sql/vdbe.c                    |   4 +-
 src/box/sql/where.c                   |   1 -
 test/sql-tap/alter.test.lua           |  32 +++-
 test/sql-tap/drop_all.test.lua        |   4 +-
 test/sql-tap/identifier_case.test.lua |   6 +-
 test/sql-tap/lua/sqltester.lua        |  38 ++---
 test/sql/upgrade.result               |   8 +-
 test/sql/view.result                  |   3 +
 test/sql/view.test.lua                |   1 +
 19 files changed, 100 insertions(+), 524 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2018-12-25 13:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-09 21:30 [tarantool-patches] [PATCH 0/6] Remove string of SQL statement from opts Nikita Pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 1/6] sql: avoid calling sql_encode_table_opts() during trigger creation Nikita Pettik
2018-12-10 14:17   ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-11 18:29     ` n.pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 2/6] sql: don't update SQL string during renaming Nikita Pettik
2018-12-10 14:16   ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-11 18:29     ` n.pettik
2018-12-12 12:36       ` Vladislav Shpilevoy
2018-12-13 12:42         ` n.pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 3/6] test: fix sqltester methods to drop all tables/views Nikita Pettik
2018-12-10 14:16   ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-11 18:29     ` n.pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 4/6] sql: don't add string of 'CREATE TABLE...' to space opts Nikita Pettik
2018-12-10 14:17   ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-11 18:29     ` n.pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 5/6] sql: don't add string of 'CREATE INDEX ...' to index opts Nikita Pettik
2018-12-10 14:18   ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-11 18:29     ` n.pettik
2018-12-09 21:30 ` [tarantool-patches] [PATCH 6/6] Remove SQL string from " Nikita Pettik
2018-12-25 13:45 ` [tarantool-patches] Re: [PATCH 0/6] Remove string of SQL statement from opts Kirill Yukhin

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