Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org, Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH 4/4] sql: fix SAVEPOINT RELEASE statement
Date: Fri, 4 May 2018 17:12:35 +0300	[thread overview]
Message-ID: <981f3a25-f813-884e-d36f-63794af445fa@tarantool.org> (raw)
In-Reply-To: <db45505203365b8dce7890b9daf59584371b070d.1525368399.git.korablev@tarantool.org>

Hello. Thanks for contributing!

See below 2 comments.

1. Lets do not create a new test file on each issue.

On 03/05/2018 21:49, Nikita Pettik wrote:
> Before this patch SAVEPOINT RELEASE statement always raised error,
> due to SQLite's obsolete code. Now it has been removed, and
> SAVEPOINT RELEASE works as desired.
> 
> Closes #3379
> ---
>   src/box/sql/vdbe.c                           |  7 -----
>   test/sql/gh-3379-release-savepoints.result   | 40 ++++++++++++++++++++++++++++
>   test/sql/gh-3379-release-savepoints.test.lua | 26 ++++++++++++++++++
>   3 files changed, 66 insertions(+), 7 deletions(-)
>   create mode 100644 test/sql/gh-3379-release-savepoints.result
>   create mode 100644 test/sql/gh-3379-release-savepoints.test.lua
> 
> diff --git a/test/sql/gh-3379-release-savepoints.result b/test/sql/gh-3379-release-savepoints.result
> new file mode 100644
> index 000000000..5f5804b66
> --- /dev/null
> +++ b/test/sql/gh-3379-release-savepoints.result
> @@ -0,0 +1,40 @@
> +test_run = require('test_run').new()
> +---
> +...
> +test_run:cmd("setopt delimiter ';'")
> +---
> +- true
> +...
> +-- These tests check that release of SQL savepoints works as desired.
> +--
> +-- box.cfg()

2. Garbage diff.

  reply	other threads:[~2018-05-04 14:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 18:49 [tarantool-patches] [PATCH 0/4] Rework SQL transaction processing Nikita Pettik
2018-05-03 18:49 ` [tarantool-patches] [PATCH 1/4] sql: remove OP_AutoCommit opcode Nikita Pettik
2018-05-04 14:12   ` [tarantool-patches] " Vladislav Shpilevoy
2018-05-05 19:14     ` n.pettik
2018-05-03 18:49 ` [tarantool-patches] [PATCH 2/4] sql: allow transitive Lua <-> SQL transactions Nikita Pettik
2018-05-04 14:12   ` [tarantool-patches] " Vladislav Shpilevoy
2018-05-05 19:14     ` n.pettik
2018-05-03 18:49 ` [tarantool-patches] [PATCH 3/4] sql: allow SAVEPOINT statement outside transaction Nikita Pettik
2018-05-04 14:12   ` [tarantool-patches] " Vladislav Shpilevoy
2018-05-05 19:15     ` n.pettik
2018-05-03 18:49 ` [tarantool-patches] [PATCH 4/4] sql: fix SAVEPOINT RELEASE statement Nikita Pettik
2018-05-04 14:12   ` Vladislav Shpilevoy [this message]
2018-05-05 19:16     ` [tarantool-patches] " n.pettik
2018-05-07 13:31 ` [tarantool-patches] Re: [PATCH 0/4] Rework SQL transaction processing Vladislav Shpilevoy
2018-05-11  7:17   ` Kirill Yukhin
2018-05-11 10:08   ` Kirill Yukhin

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=981f3a25-f813-884e-d36f-63794af445fa@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH 4/4] sql: fix SAVEPOINT RELEASE statement' \
    /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