Tarantool development patches archive
 help / color / mirror / Atom feed
From: imeevma@tarantool.org
To: korablev@tarantool.org, tsafin@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 0/2] sql: remove implicit cast from operations
Date: Fri, 21 Aug 2020 11:40:48 +0300	[thread overview]
Message-ID: <cover.1597998754.git.imeevma@gmail.com> (raw)

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

             reply	other threads:[~2020-08-21  8:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21  8:40 imeevma [this message]
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

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.1597998754.git.imeevma@gmail.com \
    --to=imeevma@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 0/2] sql: remove implicit cast from operations' \
    /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