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 4FF152EED2 for ; Sun, 2 Jun 2019 12:35:14 -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 zZ3zh5QHEQm8 for ; Sun, 2 Jun 2019 12:35:14 -0400 (EDT) Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (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 130492EECB for ; Sun, 2 Jun 2019 12:35:14 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v1 8/9] sql: use diag_set() to set an error in SQL functions References: From: Vladislav Shpilevoy Message-ID: <309b47d5-55ca-1d7f-4f96-98021a48ada7@tarantool.org> Date: Sun, 2 Jun 2019 18:35:08 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: imeevma@tarantool.org Cc: tarantool-patches@freelists.org > diff --git a/src/box/sql/vdbeapi.c b/src/box/sql/vdbeapi.c > index 597d37e..673ccd1 100644 > --- a/src/box/sql/vdbeapi.c > +++ b/src/box/sql/vdbeapi.c > @@ -762,75 +724,6 @@ sql_aggregate_context(sql_context * p, int nByte) > -/* > - * Set the auxiliary data pointer and delete function, for the iArg'th > - * argument to the user-function defined by pCtx. Any previous value is > - * deleted by calling the delete function specified when it was set. > - */ > -void > -sql_set_auxdata(sql_context * pCtx, > - int iArg, void *pAux, void (*xDelete) (void *) > - ) Still is mentioned in a couple of comments.