From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A980B430409 for ; Mon, 24 Aug 2020 10:16:00 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id t23so8426804ljc.3 for ; Mon, 24 Aug 2020 00:16:00 -0700 (PDT) Date: Mon, 24 Aug 2020 10:15:57 +0300 From: Cyrill Gorcunov Message-ID: <20200824071557.GD1174993@grain> References: <46c58e05328a4b9e85d6837fe922e308bd120ad4.1598049870.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46c58e05328a4b9e85d6837fe922e308bd120ad4.1598049870.git.v.shpilevoy@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH 1/1] box: introduce space:alter() List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On Sat, Aug 22, 2020 at 12:46:02AM +0200, Vladislav Shpilevoy wrote: > There was no way to change certain space parameters without its > recreation or manual update of internal system space _space. Even > if some of them were legal to update: field_count, owner, flag of > being temporary, is_sync flag. > > The patch introduces function space:alter(), which accepts a > subset of parameters from box.schema.space.create which are > mutable, and 'name' parameter. There is a method space:rename(), > but still the parameter is added to space:alter() too, to be > consistent with index:alter(), which also accepts a new name. > > Closes #5155 Ack