[Tarantool-patches] [PATCH 0/2] Support <ALTER TABLE DROP CONSTRAINT>

Roman Khabibov roman.habibov at tarantool.org
Fri Jan 24 17:21:22 MSK 2020


The first patch is the little refactoring to reduce code.
The second one is about the sql operation itself.

Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-4120-drop-constraint
Issue: https://github.com/tarantool/tarantool/issues/4120

Roman Khabibov (2):
  sql: refactor index drop code
  sql: support constraint drop

 src/box/constraint_id.h      |   1 +
 src/box/errcode.h            |   2 +-
 src/box/sql/alter.c          |   2 +-
 src/box/sql/build.c          | 138 ++++++++++++++++++++---------------
 src/box/sql/parse.y          |   4 +-
 src/box/sql/parse_def.h      |  15 ++--
 src/box/sql/sqlInt.h         |   6 +-
 test/sql-tap/alter2.test.lua |   2 +-
 test/sql/checks.result       |   2 +-
 test/sql/constraint.result   |  67 +++++++++++++++++
 test/sql/constraint.test.lua |  24 ++++++
 11 files changed, 187 insertions(+), 76 deletions(-)

-- 
2.21.0 (Apple Git-122)



More information about the Tarantool-patches mailing list