Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: Kirill Shcherbatov <kshcherbatov@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: Re: [tarantool-patches] Re: [PATCH v1 1/1] box: fix assert with multikey hybrid index
Date: Wed, 22 May 2019 13:21:12 +0300	[thread overview]
Message-ID: <20190522102111.5zqmmvrneai2gyhd@esperanza> (raw)
In-Reply-To: <e5edb1d3-5c6e-9dbc-7599-2240247ebd91@tarantool.org>

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()
> +---
> +...

      parent reply	other threads:[~2019-05-22 10:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21 15:39 Kirill Shcherbatov
2019-05-21 16:49 ` Vladimir Davydov
2019-05-21 16:59   ` [tarantool-patches] " Kirill Shcherbatov
2019-05-21 17:04     ` Vladislav Shpilevoy
2019-05-22 10:21     ` Vladimir Davydov [this message]

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=20190522102111.5zqmmvrneai2gyhd@esperanza \
    --to=vdavydov.dev@gmail.com \
    --cc=kshcherbatov@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] Re: [PATCH v1 1/1] box: fix assert with multikey hybrid index' \
    /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