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 C5A3F2ACAF for ; Fri, 22 Mar 2019 12:58:16 -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 lkCsUKVO9YDL for ; Fri, 22 Mar 2019 12:58:16 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 200FB2ACAE for ; Fri, 22 Mar 2019 12:58:16 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: ban ANALYZE statement From: "n.pettik" In-Reply-To: Date: Fri, 22 Mar 2019 19:58:13 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <5B3DB7B4-92A8-40B5-91F3-6A74B431652A@tarantool.org> References: 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: tarantool-patches@freelists.org Cc: Imeev Mergen > /////////////////////////////////// ANALYZE = /////////////////////////////////// > -cmd ::=3D ANALYZE. {sqlAnalyze(pParse, 0);} > -cmd ::=3D ANALYZE nm(X). {sqlAnalyze(pParse, &X);} > +cmd ::=3D ANALYZE. {} > +cmd ::=3D ANALYZE nm(X). {(void)X;} Could you remove this statement from parser? Since it does nothing, it may turn out to be confusing.