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 77A0A2D72B for ; Thu, 5 Apr 2018 19:30:38 -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 XFe5ukX9xWZW for ; Thu, 5 Apr 2018 19:30:38 -0400 (EDT) Received: from smtp35.i.mail.ru (smtp35.i.mail.ru [94.100.177.95]) (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 AEBD62D50C for ; Thu, 5 Apr 2018 19:30:37 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 2/2] netbox: reuse _request() to do SQL execute() References: <9401c4f91662037dca337c6d320c5952c61863fb.1522956408.git.v.shpilevoy@tarantool.org> <20180405200727.GA3953@atlas> From: Vladislav Shpilevoy Message-ID: Date: Fri, 6 Apr 2018 02:30:32 +0300 MIME-Version: 1.0 In-Reply-To: <20180405200727.GA3953@atlas> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Konstantin Osipov Cc: tarantool-patches@freelists.org 05.04.2018 23:07, Konstantin Osipov пишет: > * Vladislav Shpilevoy [18/04/05 22:31]: > > Please use select(1, f()) instead of first_value(). > > Otherwise the patch is OK to push. I have tried it at first. See the result: tarantool> function ret() return 1, 2, 3 end --- ... tarantool> select(1, ret()) --- - 1 - 2 - 3 ...