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 A737F21140 for ; Thu, 27 Dec 2018 05:15:02 -0500 (EST) 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 yTTDx1uGwAIB for ; Thu, 27 Dec 2018 05:15:02 -0500 (EST) Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (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 17EB121110 for ; Thu, 27 Dec 2018 05:15:01 -0500 (EST) Date: Thu, 27 Dec 2018 13:14:59 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH] sql: disallow to rename space if it is referenced by view Message-ID: <20181227101459.GA18166@chai> References: <20181209155735.32694-1-korablev@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181209155735.32694-1-korablev@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: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Nikita Pettik * Nikita Pettik [18/12/09 20:53]: > + if (strcmp(def->name, old_space->def->name) != 0 && > + old_space->def->view_ref_count > 0) > + tnt_raise(ClientError, ER_ALTER_SPACE, > + space_name(old_space), > + "can not rename space which is referenced by " > + "view"); referenced by a view (missing article). Please check your error message with the docs team if you're not 100% confident the grammar is correct. Thanks! -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov