[tarantool-patches] Re: [PATCH v1 2/2] sql: enable multi-engine tests for SQL

Kirill Shcherbatov kshcherbatov at tarantool.org
Tue Jun 26 15:22:26 MSK 2018


> 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}
+_ = space:replace{1, 1, string.rep('a', 4 * 1024 * 1024) }
+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()




More information about the Tarantool-patches mailing list