[tarantool-patches] [PATCH 0/3] Fix CAST operation
Nikita Pettik
korablev at tarantool.org
Tue May 21 13:34:53 MSK 2019
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
More information about the Tarantool-patches
mailing list