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 EDF2F25322 for ; Mon, 18 Jun 2018 16:55:58 -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 flvo7xuBd_mT for ; Mon, 18 Jun 2018 16:55:58 -0400 (EDT) Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (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 5785E25320 for ; Mon, 18 Jun 2018 16:55:58 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [tarantool-patches] Re: [PATCH] sql: remove redundant goto from VDBE prologue From: "n.pettik" In-Reply-To: Date: Mon, 18 Jun 2018 23:55:48 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <83377E01-A80A-41A3-ACD9-939DF6CD2910@tarantool.org> References: <20180612182607.53450-1-korablev@tarantool.org> <24a1a33e-02cc-ccf4-7ff9-a155f5e18781@tarantool.org> <28322F56-E52D-42C7-AE52-188D6F50AF63@tarantool.org> <5b137003-b3ea-918d-4528-a1c30712abd5@tarantool.org> <27FB91D4-8386-4AE9-8A1E-B68FE60EAB6B@tarantool.org> 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: Vladislav Shpilevoy >> Thx for refactoring, but it wouldn=E2=80=99t work this way: >> We must firstly make lable to jump (sqlite3VdbeJumpHere(v, 0);), >> then test on emitting OP_TTransaction and const exprs (or both). If = we need to >> add such opcodes, then we should jump back. Otherwise, dismiss = initial jump. >=20 > We do not need to change P2 until it is really needed. That is what I > mean. Ok, my apologies for misunderstanding. I pushed your changes.=