From: Nikita Pettik <korablev@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] [PATCH 0/3] Fix CAST operation
Date: Tue, 21 May 2019 13:34:53 +0300 [thread overview]
Message-ID: <cover.1558378847.git.korablev@tarantool.org> (raw)
Branch: https://github.com/tarantool/tarantool/tree/np/gh-4229-adjust-cast
Issue: https://github.com/tarantool/tarantool/issues/4229
This patch-set allows explicit conversion using CAST operator from REAL
to BOOLEAN and from string value containing quoted floating point
literal to INTEGER. Detailed explanation is provided in commit messages
and in issue description.
Nikita Pettik (3):
sql: remove redundant conversion from OP_AddImm
sql: allow CAST operation from REAL to BOOLEAN
sql: allow CAST operation from quoted float to int
src/box/sql/vdbe.c | 2 +-
src/box/sql/vdbemem.c | 12 ++++++++---
test/sql/types.result | 54 ++++++++++++++++++++++++++++++++++++++++++++++++-
test/sql/types.test.lua | 11 ++++++++++
4 files changed, 74 insertions(+), 5 deletions(-)
--
2.15.1
next reply other threads:[~2019-05-21 10:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 10:34 Nikita Pettik [this message]
2019-05-21 10:34 ` [tarantool-patches] [PATCH 1/3] sql: remove redundant conversion from OP_AddImm Nikita Pettik
2019-05-21 10:34 ` [tarantool-patches] [PATCH 2/3] sql: allow CAST operation from REAL to BOOLEAN Nikita Pettik
2019-05-21 10:34 ` [tarantool-patches] [PATCH 3/3] sql: allow CAST operation from quoted float to int Nikita Pettik
2019-05-27 20:43 ` [tarantool-patches] Re: [PATCH 0/3] Fix CAST operation Vladislav Shpilevoy
2019-05-28 1:39 ` Kirill Yukhin
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.1558378847.git.korablev@tarantool.org \
--to=korablev@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [tarantool-patches] [PATCH 0/3] Fix CAST operation' \
/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