Tarantool development patches archive
 help / color / mirror / Atom feed
From: imeevma@tarantool.org
To: korablev@tarantool.org
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] [PATCH v1 0/3] sql: set errors in VDBE using diag_set()
Date: Fri, 26 Apr 2019 15:23:18 +0300	[thread overview]
Message-ID: <cover.1556281123.git.imeevma@gmail.com> (raw)

The main purpose of this patch is to make sure that after
executing VDBE with an error, diag will be set.

https://github.com/tarantool/tarantool/issues/4074
https://github.com/tarantool/tarantool/tree/imeevma/gh-4074-diag_set-in-vdbe

Mergen Imeev (3):
  sql: remove error SQL_INTERRUPT
  sql: remove error SQL_MISMATCH
  sql: set errors in VDBE using diag_set()

 src/box/execute.c             |  23 +--
 src/box/sql/main.c            |   2 -
 src/box/sql/malloc.c          |   4 -
 src/box/sql/sqlInt.h          |  13 --
 src/box/sql/tokenize.c        |   3 -
 src/box/sql/vdbe.c            | 419 +++++++++++++++---------------------------
 src/box/sql/vdbeInt.h         |  10 -
 src/box/sql/vdbeapi.c         |  41 +----
 src/box/sql/vdbeaux.c         |  61 ++----
 test/sql-tap/autoinc.test.lua |   2 +-
 10 files changed, 171 insertions(+), 407 deletions(-)

-- 
2.7.4

             reply	other threads:[~2019-04-26 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-26 12:23 imeevma [this message]
2019-04-26 12:23 ` [tarantool-patches] [PATCH v1 1/3] sql: remove error SQL_INTERRUPT imeevma
2019-04-26 12:23 ` [tarantool-patches] [PATCH v1 2/3] sql: remove error SQL_MISMATCH imeevma
2019-04-26 12:23 ` [tarantool-patches] [PATCH v1 3/3] sql: set errors in VDBE using diag_set() imeevma

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.1556281123.git.imeevma@gmail.com \
    --to=imeevma@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH v1 0/3] sql: set errors in VDBE using diag_set()' \
    /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