From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 481BC430407 for ; Fri, 21 Aug 2020 11:40:50 +0300 (MSK) From: imeevma@tarantool.org Date: Fri, 21 Aug 2020 11:40:48 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1 0/2] sql: remove implicit cast from operations List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: korablev@tarantool.org, tsafin@tarantool.org Cc: tarantool-patches@dev.tarantool.org 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