Tarantool development patches archive
 help / color / mirror / Atom feed
From: Mergen Imeev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: v.shpilevoy@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 0/2] sql: fix description of type mismatch error
Date: Thu, 24 Jun 2021 13:30:30 +0300	[thread overview]
Message-ID: <cover.1624530339.git.imeevma@gmail.com> (raw)

After this patch-set value always will be printed in description of type
mismatch error. Currently, in some cases type of value is printed instead of
value.

https://github.com/tarantool/tarantool/issues/4356
https://github.com/tarantool/tarantool/tree/imeevma/gh-4356-show-varbinary-value

Mergen Imeev (2):
  sql: show varbinary in type mismatch error
  sql: always show value in type mismatch error

 src/box/sql/mem.c                             |  16 +-
 src/box/sql/vdbe.c                            |  15 +-
 test/sql-tap/cast.test.lua                    |   4 +-
 test/sql-tap/func.test.lua                    |   8 +-
 .../gh-5913-segfault-on-select-uuid.test.lua  |   4 +-
 test/sql-tap/sql-errors.test.lua              |  69 ++-
 test/sql-tap/tkt-80e031a00f.test.lua          |   4 +-
 test/sql-tap/uuid.test.lua                    |  28 +-
 test/sql/boolean.result                       | 452 +++++++++---------
 test/sql/types.result                         |  38 +-
 10 files changed, 347 insertions(+), 291 deletions(-)

-- 
2.25.1


             reply	other threads:[~2021-06-24 10:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 10:30 Mergen Imeev via Tarantool-patches [this message]
2021-06-24 10:30 ` [Tarantool-patches] [PATCH v1 1/2] sql: show varbinary in " Mergen Imeev via Tarantool-patches
2021-06-24 20:24   ` Vladislav Shpilevoy via Tarantool-patches
2021-06-24 10:30 ` [Tarantool-patches] [PATCH v1 2/2] sql: always show value " Mergen Imeev via Tarantool-patches
2021-06-25  7:27   ` Kirill Yukhin via Tarantool-patches
     [not found]     ` <114901d769ab$431961e0$c94c25a0$@tarantool.org>
2021-06-25 10:46       ` Mergen Imeev via Tarantool-patches

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=cover.1624530339.git.imeevma@gmail.com \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 0/2] sql: fix description of type mismatch error' \
    /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