From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E326A2C0BE for ; Wed, 4 Apr 2018 11:56:11 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yw0uPgyJkro6 for ; Wed, 4 Apr 2018 11:56:11 -0400 (EDT) Received: from smtp15.mail.ru (smtp15.mail.ru [94.100.176.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A107D2C09D for ; Wed, 4 Apr 2018 11:56:11 -0400 (EDT) Date: Wed, 4 Apr 2018 18:56:16 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH v2] sql: ban of REINDEX syntax Message-ID: <20180404155616.g6ew4uqc3imouawd@tkn_work_nb> References: <1522845032-25749-1-git-send-email-vanyail@yandex.ru> <372ED065-AD77-48BE-A098-CFB74EF893A2@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <372ED065-AD77-48BE-A098-CFB74EF893A2@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Kirill Yukhin Cc: vanyail , "n.pettik" , tarantool-patches@freelists.org Kirill, can you catch this patch? I gave my LGTM in the separate branch of this mail thread. WBR, Alexander Turenko. On Wed, Apr 04, 2018 at 06:42:10PM +0300, n.pettik wrote: > Hello. See only one minor remark. The rest seems OK to me. > > > On 4 Apr 2018, at 15:30, Ivan Ilyin wrote: > > > > From: vanyail > > > > This change removes REINDEX from keywords and also disables tests > > which were using this syntax. > > > > This patch affects only parser, REINDEX implementation still exists, > > because it is planned to be fixed and enabled in the scope of #3195. > > > > Note that REINDEX keyword is still in '%fallback' directive in > > 'parse.y'. Reserved keywords included there to avoid situation when > > a keyword has no usages within 'parse.y' file. > > > > Fixes #2174 > > branch: https://github.com/tarantool/tarantool/tree/gh-2174-ban-reindex-syntax > > issue: https://github.com/tarantool/tarantool/issues/2174 > > --- > > src/box/sql/parse.c | 1797 +++++++++++----------- > > src/box/sql/parse.y | 18 +- > > test/sql-tap/gh-2174-ban-reindex-syntax.test.lua | 29 + > > test/sql-tap/gh2130-index-refer-table.test.lua | 23 +- > > test/sql-tap/misc3.test.lua | 73 +- > > test/sql-tap/suite.ini | 2 + > > 6 files changed, 980 insertions(+), 962 deletions(-) > > create mode 100755 test/sql-tap/gh-2174-ban-reindex-syntax.test.lua > > > > ...