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 E530426C7E for ; Thu, 22 Aug 2019 07:56:49 -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 zg4-pPyPX_Tc for ; Thu, 22 Aug 2019 07:56:49 -0400 (EDT) Received: from smtp3.mail.ru (smtp3.mail.ru [94.100.179.58]) (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 3915826C6D for ; Thu, 22 Aug 2019 07:56:49 -0400 (EDT) Date: Thu, 22 Aug 2019 14:56:46 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH 0/3] Merge struct sql_txn into struct txn/savepoint Message-ID: <20190822115646.gp36xybjqsigeosn@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 Hello, On 07 Aug 18:13, Nikita Pettik wrote: > Branch: https://github.com/tarantool/tarantool/tree/np/move-sql-structs-from-txn > > As a one of final steps of merging SQL and NoSQL codebases, it is > required to squash struct sql_txn and struct txn/struct txn_savepoint. > struct sql_txn was needed to operate on named savepoints. Hence, it > contains name of savepoint and a link to next savepoint. This patch-set > adds optional name of savepoint to struct txn_savepoint and orginizes > txn_savepoints into list. Head of list is held in stuct txn. Iterating > over list allows to find savepoint by its name. Finally, after this > procedure is completed, we can remove struct sql_txn and struct Savepoint. > > Nikita Pettik (3): > txn: move fk_deferred_count from psql_txn to txn > txn: merge struct sql_txn into struct txn > sql: use struct txn_savepoint as anonymous savepoint I've checked the patchset into 2.2 and master. -- Regards, Kirill Yukhin