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 BFEE52BE5F for ; Sun, 28 Oct 2018 17:28:21 -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 HVBkbDlydMXU for ; Sun, 28 Oct 2018 17:28:21 -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 0601F2BE48 for ; Sun, 28 Oct 2018 17:28:20 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v7 0/2] sql: return all generated ids via IPROTO References: From: Vladislav Shpilevoy Message-ID: <3e406ab2-2f5d-fe9e-4a2c-41eaed34bc21@tarantool.org> Date: Mon, 29 Oct 2018 00:28:17 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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, korablev@tarantool.org, tarantool-patches@freelists.org Hi! Nikita, please, ignore this. It contains a bug. On 27/10/2018 14:18, imeevma@tarantool.org wrote: > To make implementation of function getGeneratedKeys() of JDBC > driver we should be able to return information of generated keys > through IPROTO. > > Patch 1 implements such functionality. > > Patch 2 do some refactoring in VDBE. > > Issue: https://github.com/tarantool/tarantool/issues/2618 > Branch: https://github.com/tarantool/tarantool/tree/imeevma/gh-2618-return-all-generated-ids > > Mergen Imeev (1): > sql: return all generated ids via IPROTO > > Vladislav Shpilevoy (1): > sql: remove psql_txn from Vdbe > > src/box/execute.c | 28 ++++++++++++++- > src/box/execute.h | 1 + > src/box/lua/net_box.c | 29 ++++++++++++--- > src/box/sequence.c | 7 ++++ > src/box/sequence.h | 13 +++++++ > src/box/sql/vdbe.c | 42 +++++++++++++++++----- > src/box/sql/vdbe.h | 12 ++++++- > src/box/sql/vdbeInt.h | 7 ++-- > src/box/sql/vdbeaux.c | 25 ++++++------- > src/box/txn.h | 27 ++++++++++++++ > test/sql/iproto.result | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ > test/sql/iproto.test.lua | 24 +++++++++++++ > 12 files changed, 277 insertions(+), 30 deletions(-) >