From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 30D242BDAC for ; Wed, 24 Apr 2019 15:43:46 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wo7zi8rTmTVg for ; Wed, 24 Apr 2019 15:43:46 -0400 (EDT) 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 turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 878DE2BDAA for ; Wed, 24 Apr 2019 15:43:45 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: invalid integer type in arithmetic operations From: "n.pettik" In-Reply-To: <72941eba60647c98f4559cbd0c862bade990d761.1556120090.git.kshcherbatov@tarantool.org> Date: Wed, 24 Apr 2019 22:43:42 +0300 Content-Transfer-Encoding: 7bit Message-Id: <7C38D671-BF76-4B11-A15D-5BDC6E2358B8@tarantool.org> References: <72941eba60647c98f4559cbd0c862bade990d761.1556120090.git.kshcherbatov@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: Kirill Shcherbatov > diff --git a/test/sql/types.result b/test/sql/types.result > index de17bbb78..d55addab3 100644 > --- a/test/sql/types.result > +++ b/test/sql/types.result > @@ -860,3 +860,30 @@ box.space.T:drop() > box.space.T1:drop() > --- > ... > +-- > +-- gh-4103: Invalid sum type -> if resulting value of arithmetic operations is integers, then make sure its type also integer (not number). The rest is OK.