Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/2] sql: remove implicit cast from operations
@ 2020-08-21  8:40 imeevma
  2020-08-21  8:40 ` [Tarantool-patches] [PATCH v1 1/2] sql: remove implicit cast in arithmetic operations imeevma
  2020-08-21  8:40 ` [Tarantool-patches] [PATCH v1 2/2] sql: remove implicit cast in bitwise operations imeevma
  0 siblings, 2 replies; 10+ messages in thread
From: imeevma @ 2020-08-21  8:40 UTC (permalink / raw)
  To: korablev, tsafin; +Cc: tarantool-patches

This patch-set removes implicit string-to-number conversion from arithmetic and
bitwise operations.

https://github.com/tarantool/tarantool/issues/3809
https://github.com/tarantool/tarantool/tree/imeevma/gh-3809-follow-up

@ChangeLog
 - Strings are no longer implicitly converted to numbers in arithmetic and
   bitwise operations.

Mergen Imeev (2):
  sql: remove implicit cast in arithmetic operations
  sql: remove implicit cast in bitwise operations

 src/box/sql/vdbe.c                   | 130 +++++++++++++-----------
 test/sql-tap/misc1.test.lua          |   6 +-
 test/sql-tap/misc3.test.lua          |  42 +-------
 test/sql-tap/tkt-a8a0d2996a.test.lua | 146 ---------------------------
 test/sql/types.result                | 110 +++++++++++++++++++-
 test/sql/types.test.lua              |  29 ++++++
 6 files changed, 207 insertions(+), 256 deletions(-)
 delete mode 100755 test/sql-tap/tkt-a8a0d2996a.test.lua

-- 
2.25.1

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

end of thread, other threads:[~2020-09-29 13:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21  8:40 [Tarantool-patches] [PATCH v1 0/2] sql: remove implicit cast from operations imeevma
2020-08-21  8:40 ` [Tarantool-patches] [PATCH v1 1/2] sql: remove implicit cast in arithmetic operations imeevma
2020-08-21  8:59   ` Nikita Pettik
2020-08-21  8:40 ` [Tarantool-patches] [PATCH v1 2/2] sql: remove implicit cast in bitwise operations imeevma
2020-08-21  9:21   ` Nikita Pettik
2020-08-21 12:34     ` Mergen Imeev
2020-09-17 13:36       ` Nikita Pettik
2020-09-27  9:11         ` Mergen Imeev
2020-09-28 17:13           ` Nikita Pettik
2020-09-29 13:00             ` Mergen Imeev

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