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 609262A043 for ; Wed, 21 Mar 2018 09:02:29 -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 y1GzHYYq76U3 for ; Wed, 21 Mar 2018 09:02:29 -0400 (EDT) Received: from smtp62.i.mail.ru (smtp62.i.mail.ru [217.69.128.42]) (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 6C05E299C9 for ; Wed, 21 Mar 2018 09:02:26 -0400 (EDT) Date: Wed, 21 Mar 2018 16:02:24 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH] sql: ban of REINDEX syntax Message-ID: <20180321130224.7in37pr56xg6h5cr@tkn_work_nb> References: <1521120892.753756821@f173.i.mail.ru> <1521630368-2969-1-git-send-email-vanyail@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1521630368-2969-1-git-send-email-vanyail@yandex.ru> 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: Nikita Pettik Cc: tarantool-patches@freelists.org, Ival Ilyin LGTM. Thanks! Nikita, can you please look into this patch? WBR, Alexander Turenko. On Wed, Mar 21, 2018 at 02:06:08PM +0300, Ivan Ilyin wrote: > From: vanyail > > This change cut REINDEX syntax 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'. The reason described in 'parse.y' in comment related > to '%fallback'. > > Fixes #2174 > --- > > branch: https://github.com/tarantool/tarantool/tree/gh-2174-ban-reindex-syntax > --- > src/box/sql/parse.c | 1797 +++++++++++----------- > src/box/sql/parse.y | 22 +- > test/sql-tap/gh-2174-ban-reindex-syntax.test.lua | 17 + > test/sql-tap/suite.ini | 4 + > 4 files changed, 925 insertions(+), 915 deletions(-) > create mode 100755 test/sql-tap/gh-2174-ban-reindex-syntax.test.lua > > ...