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 2D6F02A1D0 for ; Tue, 23 Apr 2019 06:30:19 -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 IOrEFBfUiGfP for ; Tue, 23 Apr 2019 06:30:19 -0400 (EDT) Received: from smtp34.i.mail.ru (smtp34.i.mail.ru [94.100.177.94]) (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 E0BF025832 for ; Tue, 23 Apr 2019 06:30:18 -0400 (EDT) Date: Tue, 23 Apr 2019 13:30:16 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH v1 1/1] box: fix empty tuple invalid update Message-ID: <20190423103016.qcgnf6qgtndykhj7@tarantool.org> References: <8d2b8471b96efc182d82301808fe9ffec394ee5f.1556007413.git.kshcherbatov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8d2b8471b96efc182d82301808fe9ffec394ee5f.1556007413.git.kshcherbatov@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, Kirill Shcherbatov Hello, On 23 Apr 11:17, Kirill Shcherbatov wrote: > The tuple:update() used to work incorrectly in case of empty > tuple produced with box.tuple.new{} because update_create_rope > unconditionally initialized a new rope with [tuple_data, > mp_next(tuple_data)] field that might not exists. > > Closes #4041 > --- > http://github.com/tarantool/tarantool/tree/kshch/gh-4041-empty-tuple-update > https://github.com/tarantool/tarantool/issues/4041 I've checked your patch into master, 2.1 and 1.10 branches. -- Regards, Kirill Yukhin