Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/3] Fix CAST operation
@ 2019-05-21 10:34 Nikita Pettik
  2019-05-21 10:34 ` [tarantool-patches] [PATCH 1/3] sql: remove redundant conversion from OP_AddImm Nikita Pettik
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Nikita Pettik @ 2019-05-21 10:34 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Nikita Pettik

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-28  1:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 10:34 [tarantool-patches] [PATCH 0/3] Fix CAST operation Nikita Pettik
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox