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 25B3A2EADA for ; Wed, 15 May 2019 09:32:30 -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 XjQIg5uzZ7QE for ; Wed, 15 May 2019 09:32:30 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 D67DF2EACA for ; Wed, 15 May 2019 09:32:29 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: [tarantool-patches] Re: [PATCH v1 10/12] sql: remove field errCode from struct sql From: "n.pettik" In-Reply-To: <1a6c14c7d0913a816a8b6280ddea742bd06903bd.1557056617.git.imeevma@gmail.com> Date: Wed, 15 May 2019 16:32:27 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <9C2127ED-1278-4240-804D-3C7ADDE9C4E3@tarantool.org> References: <1a6c14c7d0913a816a8b6280ddea742bd06903bd.1557056617.git.imeevma@gmail.com> 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: Imeev Mergen > On 5 May 2019, at 15:17, imeevma@tarantool.org wrote: >=20 > This field became unusued and should be removed. > --- >=20 > diff --git a/src/box/sql/main.c b/src/box/sql/main.c > index a3c6aa1..155cbcc 100644 > --- a/src/box/sql/main.c > +++ b/src/box/sql/main.c > @@ -568,22 +568,6 @@ sqlTempInMemory(const sql * db) > } >=20 > /* > - * Return the most recent error code generated by an sql routine. If = NULL is > - * passed to this function, we assume a malloc() failed during = sql_open(). > - */ > -int > -sql_errcode(sql * db) Still see several mentions of this function in comments.