Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Kirill Shcherbatov <kshcherbatov@tarantool.org>,
	tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v1 2/2] sql: enable multi-engine tests for SQL
Date: Tue, 26 Jun 2018 16:34:40 +0300	[thread overview]
Message-ID: <095ad7eb-43a3-8871-6123-7e0bb1e70601@tarantool.org> (raw)
In-Reply-To: <006ee2bb-5abc-d612-3a4f-c709d7f3c27f@tarantool.org>

Thanks for the fixes! See 2 comments below.

On 26/06/2018 15:22, Kirill Shcherbatov wrote:
>> Did you test sql-tap/ suite? Why is not it in the
>> patch? It could be updated automatically using a
>> short script that adds the engine setting at the
>> beginning of a file.
> Ok, I've change constructor to start SQL-TAP test with all engines.
> This patch should be merged after than "Vinyl read iterator skips tuples #3477"
> 
>> 1. Just increase vinyl_max_tuple_size to the same value. This
>> test should work both for vinyl and memtx.
> Ok.
> +-- 4 * 1024 * 1024 is higher than vinyl max tuple size
> +old_tuple_size = box.cfg.vinyl_max_tuple_size
> +box.cfg{vinyl_max_tuple_size = 5 * 1024 * 1024}

1. Not in the test. See where memtx_max_tuple_size is changed.

> +_ = space:replace{1, 1, string.rep('a', 4 * 1024 * 1024) }

2. This line it unnecessary diff.

> +box.cfg{vinyl_max_tuple_size = old_tuple_size}
> 
>> 2. Vinyl rollbacks failed transactions, but it does not
>> rollback the whole transaction on a non-caught exception.
> Ok.
> +box.rollback()
> 

  reply	other threads:[~2018-06-26 13:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 17:06 [tarantool-patches] [PATCH v1 0/2] sql: default engine pragma Kirill Shcherbatov
2018-06-20 17:06 ` [tarantool-patches] [PATCH v1 1/2] sql: introduce pragma sql_default_engine Kirill Shcherbatov
2018-06-22 20:04   ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-26 12:22     ` Kirill Shcherbatov
2018-06-26 13:34       ` Vladislav Shpilevoy
2018-06-26 17:09         ` Kirill Shcherbatov
2018-06-27 12:32           ` Vladislav Shpilevoy
2018-06-27 15:59             ` Kirill Shcherbatov
2018-06-20 17:06 ` [tarantool-patches] [PATCH v1 2/2] sql: enable multi-engine tests for SQL Kirill Shcherbatov
2018-06-22 20:04   ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-26 12:22     ` Kirill Shcherbatov
2018-06-26 13:34       ` Vladislav Shpilevoy [this message]
2018-06-26 17:09         ` Kirill Shcherbatov
2018-06-26 12:23 ` [tarantool-patches] [PATCH v1 2/3] sql: fix SQL Count for vinyl engine Kirill Shcherbatov
2018-06-28 15:35 ` [tarantool-patches] Re: [PATCH v1 0/2] sql: default engine pragma Vladislav Shpilevoy
2018-06-28 16:00   ` 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=095ad7eb-43a3-8871-6123-7e0bb1e70601@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=kshcherbatov@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v1 2/2] sql: enable multi-engine tests for SQL' \
    /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