Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/5] Introduce ALTER TABLE ADD CONSTRAINT UNIQUE/PK
@ 2019-01-23 17:56 Nikita Pettik
  2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 1/5] sql: introduce structs assembling DDL arguments during parsing Nikita Pettik
                   ` (4 more replies)
  0 siblings, 5 replies; 34+ messages in thread
From: Nikita Pettik @ 2019-01-23 17:56 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy, kostja, Nikita Pettik

Branch: https://github.com/tarantool/tarantool/tree/np/gh-3914-fix-create-index
Issues:
https://github.com/tarantool/tarantool/issues/3097
https://github.com/tarantool/tarantool/issues/3914

Link to previous thread:
https://www.freelists.org/post/tarantool-patches/PATCH-06-Introduce-ALTER-TABLE-ADD-CONSTRAINT-UNIQUEPK

Changelog:
 - Completely reworked first patch in series: now it introduces
   hierarchical format for structures which assemble arguments during
   DDL parsing.
 - Removed third patch (sql: remove start token from sql_create_index args)
   since it was merged to the first one.

Nikita Pettik (5):
  sql: introduce structs assembling DDL arguments during parsing
  sql: rework ALTER TABLE grammar
  sql: refactor getNewIid() function
  sql: fix error message for improperly created index
  sql: introduce ALTER TABLE ADD CONSTRAINT UNIQUE/PRIMARY KEY

 src/box/sql/CMakeLists.txt   |   1 +
 src/box/sql/alter.c          |  10 +-
 src/box/sql/build.c          | 240 ++++++++++++++++++++++++---------------
 src/box/sql/parse.y          | 262 ++++++++++++++++++++++++++++++++++++-------
 src/box/sql/parse_def.c      | 158 ++++++++++++++++++++++++++
 src/box/sql/parse_def.h      | 170 ++++++++++++++++++++++++++++
 src/box/sql/sqliteInt.h      |  70 +++---------
 src/box/sql/trigger.c        |  57 +++++-----
 test/sql-tap/alter.test.lua  |  57 +++++++++-
 test/sql-tap/index1.test.lua |  28 ++++-
 test/sql-tap/index7.test.lua |   2 +-
 11 files changed, 830 insertions(+), 225 deletions(-)
 create mode 100644 src/box/sql/parse_def.c
 create mode 100644 src/box/sql/parse_def.h

-- 
2.15.1

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

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

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 17:56 [tarantool-patches] [PATCH v2 0/5] Introduce ALTER TABLE ADD CONSTRAINT UNIQUE/PK Nikita Pettik
2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 1/5] sql: introduce structs assembling DDL arguments during parsing Nikita Pettik
2019-01-24  8:36   ` [tarantool-patches] " Konstantin Osipov
2019-01-24 10:47     ` n.pettik
2019-01-24 12:30       ` Konstantin Osipov
2019-01-29 19:03         ` n.pettik
2019-01-29 19:29   ` Vladislav Shpilevoy
2019-01-29 20:04     ` n.pettik
2019-01-29 20:20       ` Vladislav Shpilevoy
2019-01-29 21:25         ` n.pettik
2019-01-31 19:32     ` n.pettik
2019-02-04 15:25       ` Vladislav Shpilevoy
2019-02-08 14:25         ` n.pettik
2019-02-15 20:13           ` Vladislav Shpilevoy
2019-02-27 22:56             ` n.pettik
2019-03-12 12:50               ` Vladislav Shpilevoy
2019-03-14 18:13                 ` n.pettik
2019-03-25 11:25                   ` Vladislav Shpilevoy
2019-03-26 18:01                     ` n.pettik
2019-03-26 18:06                       ` Vladislav Shpilevoy
2019-03-27 13:00                         ` n.pettik
2019-03-27 13:29                           ` Vladislav Shpilevoy
2019-03-27 13:44                             ` n.pettik
2019-03-27 14:03                               ` Vladislav Shpilevoy
2019-03-27 14:11                                 ` n.pettik
2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 2/5] sql: rework ALTER TABLE grammar Nikita Pettik
2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 3/5] sql: refactor getNewIid() function Nikita Pettik
2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 4/5] sql: fix error message for improperly created index Nikita Pettik
2019-02-08 17:14   ` [tarantool-patches] " Konstantin Osipov
2019-01-23 17:56 ` [tarantool-patches] [PATCH v2 5/5] sql: introduce ALTER TABLE ADD CONSTRAINT UNIQUE/PRIMARY KEY Nikita Pettik
2019-01-24  8:31   ` [tarantool-patches] " Konstantin Osipov
2019-01-29 19:29   ` Vladislav Shpilevoy
2019-02-08 17:16   ` Konstantin Osipov
2019-02-08 17:36     ` n.pettik

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