From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) (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 8755B452566 for ; Mon, 11 Nov 2019 02:42:14 +0300 (MSK) Received: by mail-pf1-f195.google.com with SMTP id p24so9382615pfn.4 for ; Sun, 10 Nov 2019 15:42:14 -0800 (PST) Date: Mon, 11 Nov 2019 02:42:11 +0300 From: Konstantin Osipov Message-ID: <20191110234211.GB15733@atlas> References: <20191107010455.64457-1-korablev@tarantool.org> <20191107010455.64457-15-korablev@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191107010455.64457-15-korablev@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH 14/15] box: introduce prepared statements List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Nikita Pettik [19/11/07 04:33]: > +int > +sql_unprepare(uint32_t query_id) this is called deallocate prepare in ansi sql, not unprepare > + /** > + * In case of "prepare" request user receives id of query > + * using which query can be executed later. > + */ > + uint32_t query_id; Query is something that returns data. You can prepare any statement. So it's statement id, not query id. -- Konstantin Osipov, Moscow, Russia