From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 22 May 2019 13:21:12 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] Re: [PATCH v1 1/1] box: fix assert with multikey hybrid index Message-ID: <20190522102111.5zqmmvrneai2gyhd@esperanza> References: <9d568e120e1daaf5e4df7859911088f446a8e403.1558453156.git.kshcherbatov@tarantool.org> <20190521164907.axeogtzol4wkbqpk@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org List-ID: 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() > +--- > +...