From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (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 8812F4696C4 for ; Wed, 4 Dec 2019 01:51:21 +0300 (MSK) References: From: Vladislav Shpilevoy Message-ID: <93d0509d-bb38-31c4-9467-d6b3be4b6e6e@tarantool.org> Date: Tue, 3 Dec 2019 23:51:19 +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 v2 05/16] sql: move sql_finalize() to execute.h List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik , tarantool-patches@dev.tarantool.org Thanks for the patch! On 20/11/2019 22:28, Nikita Pettik wrote: > We are going to make prepared statement cache be session local. Hence, Session local? I thought we've decided to use a global cache. > when sessions is destroyed we should erase its cache and deallocate each > prepared statement in it. As a consequence, we should be able to call > sql_finalize() from box/ submodule. So let's move its signature to > box/execute.h > > Need for #2592