From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 AE4814696C1 for ; Wed, 4 Dec 2019 01:51:15 +0300 (MSK) References: <0b82b8a27721a515908df9235d0e462c31226b0c.1574277369.git.korablev@tarantool.org> From: Vladislav Shpilevoy Message-ID: <9ffa60c0-fdb8-7373-ec72-5c082140b2a6@tarantool.org> Date: Tue, 3 Dec 2019 23:51:13 +0100 MIME-Version: 1.0 In-Reply-To: <0b82b8a27721a515908df9235d0e462c31226b0c.1574277369.git.korablev@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 02/16] sql: refactor sql_prepare() and sqlPrepare() 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! > diff --git a/src/box/sql/analyze.c b/src/box/sql/analyze.c > index b9858c8d6..1eba1e206 100644 > --- a/src/box/sql/analyze.c > +++ b/src/box/sql/analyze.c > @@ -1343,7 +1343,7 @@ sample_compare(const void *a, const void *b, void *arg) > * @retval 0 on success, -1 otherwise. > */ > static int > -load_stat_from_space(struct sql *db, const char *sql_select_prepare, > +load_stat_from_space(const char *sql_select_prepare, Please, drop db from the comment too.