Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Yukhin via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: imeevma@tarantool.org
Cc: v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v1 2/2] sql: always show value in type mismatch error
Date: Fri, 25 Jun 2021 07:27:24 +0000	[thread overview]
Message-ID: <20210625072724.3lc35g67i5t3c5ew@tarantool.org> (raw)
In-Reply-To: <d6dd430c3aa55ceca47aa78de721fb0c0ed24884.1624530339.git.imeevma@gmail.com>

Hello,

On 24 Jun 13:30, Mergen Imeev via Tarantool-patches wrote:
> diff --git a/src/box/sql/vdbe.c b/src/box/sql/vdbe.c
>  -- Check interaction of BOOLEAN and TEXT.
> @@ -5272,124 +5272,124 @@ SELECT a2, d, d OR a2 FROM t6, t9;
>  SELECT true > 'abc';
>   | ---
>   | - null
> - | - 'Type mismatch: can not convert text to boolean'
> + | - 'Type mismatch: can not convert abc to boolean'

Is it possible to quote string values (like you do for varbinary)?

--
Regards, Kirill Yukhin

  reply	other threads:[~2021-06-25  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 10:30 [Tarantool-patches] [PATCH v1 0/2] sql: fix description of " Mergen Imeev via Tarantool-patches
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 [this message]
     [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=20210625072724.3lc35g67i5t3c5ew@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 2/2] sql: always show value in 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