[tarantool-patches] Re: [PATCH v1 1/1] box: fix assert with multikey hybrid index

Vladimir Davydov vdavydov.dev at gmail.com
Wed May 22 13:21:12 MSK 2019


On Tue, May 21, 2019 at 07:59:37PM +0300, Kirill Shcherbatov wrote:
> +s = box.schema.space.create('clients')

It's an engine test => it should test both vinyl and memtx.

Fixed it by myself and pushed to master.

> +---
> +...
> +name_idx = s:create_index('name_idx', {parts = {{1, 'string'}}})
> +---
> +...
> +phone_idx = s:create_index('phone_idx', {parts = {{'[2][*]', 'string'}, {3, 'string'}}, unique=false})
> +---
> +...
> +s:insert({"Genadiy", {"911"}, 'b'})
> +---
> +- ['Genadiy', ['911'], 'b']
> +...
> +s:insert({"Jorge", {"911", "89457609234"}, 'a'})
> +---
> +- ['Jorge', ['911', '89457609234'], 'a']
> +...
> +s:drop()
> +---
> +...



More information about the Tarantool-patches mailing list