From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp52.i.mail.ru (smtp52.i.mail.ru [94.100.177.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 5690E469719 for ; Sat, 12 Sep 2020 00:51:16 +0300 (MSK) From: Roman Khabibov Date: Sat, 12 Sep 2020 00:51:09 +0300 Message-Id: <20200911215115.6622-1-roman.habibov@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v4 0/6] Support column addition List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Cc: v.shpilevoy@tarantool.org There is two new patches: sql: use parser's region of index array box: disallow to modify format of a view I'm not sure, should I write that they are "needed for"? Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3075-add-column-v2 Issue: https://github.com/tarantool/tarantool/issues/3075 Roman Khabibov (6): sql: rename TK_COLUMN to TK_COLUMN_NAME sql: refactor create_table_def and parse schema: add box_space_field_MAX sql: use parser's region of "index" array box: disallow to modify format of a view sql: support column addition extra/addopcodes.sh | 2 +- extra/mkkeywordhash.c | 7 +- src/box/alter.cc | 8 + src/box/errcode.h | 1 + src/box/schema_def.h | 1 + src/box/sql/build.c | 605 +++++++++++++++------- src/box/sql/expr.c | 48 +- src/box/sql/fk_constraint.c | 2 +- src/box/sql/parse.y | 48 +- src/box/sql/parse_def.h | 79 +-- src/box/sql/prepare.c | 3 +- src/box/sql/resolve.c | 10 +- src/box/sql/select.c | 10 +- src/box/sql/sqlInt.h | 59 ++- src/box/sql/treeview.c | 2 +- src/box/sql/where.c | 18 +- src/box/sql/whereexpr.c | 12 +- test/box/error.result | 1 + test/box/view-dont-modify-format.result | 51 ++ test/box/view-dont-modify-format.test.lua | 18 + test/sql/add-column.result | 529 +++++++++++++++++++ test/sql/add-column.test.sql | 183 +++++++ test/sql/checks.result | 20 + test/sql/checks.test.lua | 9 + test/sql/foreign-keys.result | 28 + test/sql/foreign-keys.test.lua | 11 + 26 files changed, 1475 insertions(+), 290 deletions(-) create mode 100644 test/box/view-dont-modify-format.result create mode 100644 test/box/view-dont-modify-format.test.lua create mode 100644 test/sql/add-column.result create mode 100644 test/sql/add-column.test.sql -- 2.24.3 (Apple Git-128)