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 504E926655 for ; Fri, 2 Aug 2019 01:39:29 -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 Qw-ZBZW1TvYv for ; Fri, 2 Aug 2019 01:39:29 -0400 (EDT) Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (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 B44532658E for ; Fri, 2 Aug 2019 01:39:28 -0400 (EDT) Date: Fri, 2 Aug 2019 08:39:25 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH v2 0/2] sql: rework error handling in box.execute() Message-ID: <20190802053925.wlftamxjiopvzbng@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: v.shpilevoy@tarantool.org, kostja@tarantool.org Hello, On 31 Jul 13:32, imeevma@tarantool.org wrote: > This patch-set reworks the error handling of box.execute(). After > this patch-set, box.execute() will return nil as the first return > value, and error as the second. > > https://github.com/tarantool/tarantool/issues/4390 > https://github.com/tarantool/tarantool/tree/imeevma/gh-4390-box_execute-should-not-throw > > Changes in v2: > - Added function, that pushes nil and error in Lua stack. > > Mergen Imeev (2): > lua: new function luaT_return_error() > sql: rework error handling in box.execute() I've checked the patchset into master. -- Regards, Kirill Yukhin