From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7752D4696C3 for ; Sun, 22 Mar 2020 22:42:19 +0300 (MSK) References: From: Vladislav Shpilevoy Message-ID: <2193f919-8553-1511-18ea-0f249985d820@tarantool.org> Date: Sun, 22 Mar 2020 20:42:16 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 2/2] sql: fix assertion fault in SELECT * FROM "_vfunc" List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chris Sosnin , korablev@tarantool.org, tarantool-patches@dev.tarantool.org > diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua > index 92c3b460e..2fea6f943 100644 > --- a/src/box/lua/upgrade.lua > +++ b/src/box/lua/upgrade.lua > @@ -974,6 +974,12 @@ local function upgrade_to_2_3_1() > create_session_settings_space() > end > > +local function upgrade_to_2_3_1_1() > + local _func = box.space[box.schema.FUNC_ID] > + local _vfunc = box.space[box.schema.VFUNC_ID] > + _vfunc:format(_func:format()) It is worth adding a comment why such a trivial thing should be done.