[tarantool-patches] [PATCH v7 0/2] sql: return all generated ids via IPROTO

imeevma at tarantool.org imeevma at tarantool.org
Sat Oct 27 14:18:01 MSK 2018


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(-)

-- 
2.7.4





More information about the Tarantool-patches mailing list