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 671172DD00 for ; Mon, 29 Oct 2018 13:33:24 -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 4btbx--Zo-BB for ; Mon, 29 Oct 2018 13:33:24 -0400 (EDT) Received: from smtp20.mail.ru (smtp20.mail.ru [94.100.179.251]) (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 21A4D2DCB6 for ; Mon, 29 Oct 2018 13:33:22 -0400 (EDT) From: imeevma@tarantool.org Subject: [tarantool-patches] [PATCH v8 0/3] sql: return all generated ids via IPROTO Date: Mon, 29 Oct 2018 20:33:19 +0300 Message-Id: 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: korablev@tarantool.org, tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org To make implementation of function getGeneratedKeys() of JDBC driver we should be able to return information of generated in last INSERT statement keys through IPROTO. Patch 1 separates fideb_gc() from txn_commit(). Patch 2 implements mentioned functionality. Patch 3 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 (2): box: factor fiber_gc out of txn_commit 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.c | 13 ++++--- src/box/txn.h | 28 +++++++++++++++ src/box/vy_scheduler.c | 2 +- test/sql/iproto.result | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ test/sql/iproto.test.lua | 24 +++++++++++++ 14 files changed, 287 insertions(+), 36 deletions(-) -- 2.7.4