Tarantool development patches archive
 help / color / mirror / Atom feed
From: imeevma@tarantool.org
To: tarantool-patches@freelists.org, korablev@tarantool.org
Cc: v.shpilevoy@tarantool.org
Subject: [tarantool-patches] [PATCH v3 0/2] sql: return last_insert_id via IPROTO
Date: Fri, 24 Aug 2018 13:57:03 +0300	[thread overview]
Message-ID: <cover.1535107514.git.imeevma@gmail.com> (raw)

This patch-set add new data to metadata returned via IPROTO
after some SQL statements.

Branch: https://github.com/tarantool/tarantool/tree/imeevma/gh-2618-return-generated-columns-and-values
Issue: https://github.com/tarantool/tarantool/issues/2618

Mergen Imeev (2):
  sql: move autoincrement in vdbe
  sql: return last_insert_id via IPROTO

 src/box/execute.c                       |  11 +-
 src/box/execute.h                       |   1 +
 src/box/lua/net_box.c                   |  10 +-
 src/box/session.cc                      |   1 +
 src/box/session.h                       |   5 +
 src/box/sql/func.c                      |  19 ++++
 src/box/sql/insert.c                    |  13 ++-
 src/box/sql/vdbe.c                      |  18 +++-
 src/box/sql/vdbeInt.h                   |   5 +
 test/sql-tap/insert3.test.lua           |  27 ++++-
 test/sql/errinj.result                  |   3 +-
 test/sql/gh-2981-check-autoinc.result   |  13 +++
 test/sql/gh-2981-check-autoinc.test.lua |   6 +-
 test/sql/iproto.result                  | 181 ++++++++++++++++++++++++++------
 test/sql/iproto.test.lua                |  20 ++++
 15 files changed, 289 insertions(+), 44 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-08-24 10:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-24 10:57 imeevma [this message]
2018-08-24 10:57 ` [tarantool-patches] [PATCH v3 1/2] sql: move autoincrement in vdbe imeevma
2018-08-27 14:27   ` [tarantool-patches] " n.pettik
2018-08-24 10:57 ` [tarantool-patches] [PATCH v3 2/2] sql: return last_insert_id via IPROTO imeevma
2018-08-27 14:25   ` [tarantool-patches] " n.pettik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1535107514.git.imeevma@gmail.com \
    --to=imeevma@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [tarantool-patches] [PATCH v3 0/2] sql: return last_insert_id via IPROTO' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox