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 8659F278F9 for ; Fri, 27 Jul 2018 06:02:06 -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 tYuV9qUV2Tow for ; Fri, 27 Jul 2018 06:02:06 -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 CA50426545 for ; Fri, 27 Jul 2018 06:02:05 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v1 2/2] sql: prevent executing crossengine sql References: <281C2B94-5BA3-4868-B3A5-53234E2DCA4D@tarantool.org> <12091997-2a63-951d-9477-86c3429d981d@tarantool.org> <589c2e7f-7701-d075-8c91-6d5707e6a9a5@tarantool.org> <72ec02db-6c05-9652-8455-bcb99c35a8a6@tarantool.org> From: Kirill Shcherbatov Message-ID: Date: Fri, 27 Jul 2018 13:02:03 +0300 MIME-Version: 1.0 In-Reply-To: <72ec02db-6c05-9652-8455-bcb99c35a8a6@tarantool.org> 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: tarantool-patches@freelists.org, Vladislav Shpilevoy On 27.07.2018 11:55, Vladislav Shpilevoy wrote: > Hi! I do not see your answer. You've just sent empty email with my cite. > > On 27/07/2018 10:13, Kirill Shcherbatov wrote: >>> Thanks for the fixes! I have pushed my own on the branch. >>> Please, squash. >>> >>> Sorry, I was wrong about txn != NULL omitting. If we omit it, >>> then for ephemeral spaces we do not start ro stmt, but commit >>> it. It is not correct. >>> >>> Your code works only because commit_ro() is no-op when we >>> have an active transaction. But it can change in futureThank you for review. I've squashed this changes. Oh, sorry. It is kind of misunderstanding. Maybe I've press Enter on selected text before send via Ctrl+Enter.Thank you for review. I've squashed your changes.