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

imeevma at tarantool.org imeevma at tarantool.org
Mon Oct 29 20:33:19 MSK 2018


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





More information about the Tarantool-patches mailing list