[tarantool-patches] [PATCH v2 0/4] Introduce ALTER TABLE ADD CONSTRAINT PK/UNIQUE

Nikita Pettik korablev at tarantool.org
Thu Mar 28 15:07:54 MSK 2019


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

These patches haven't been significantly changed since previous
version. The main change is rebase on fresh 2.1.1

Nikita Pettik (4):
  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/build.c          | 99 +++++++++++++++++++++++++++-----------------
 src/box/sql/parse.y          | 41 ++++++++++++++----
 test/sql-tap/alter.test.lua  | 57 ++++++++++++++++++++++++-
 test/sql-tap/alter2.test.lua |  2 +-
 test/sql-tap/index1.test.lua | 28 ++++++++++++-
 5 files changed, 180 insertions(+), 47 deletions(-)

-- 
2.15.1





More information about the Tarantool-patches mailing list