From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id F04B46EC55; Wed, 28 Jul 2021 19:24:27 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F04B46EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1627489468; bh=rAVjJCCKbD6HpK1QBzITcC1LXGZID0WxSj0dvHsY/cY=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=U/P3f38RsjzGoyQmUxZV+r1UnI0h8vVfS0F6ZLFmZjr/sRk5c6LRQ4I7i7CdXi0aI evpyzVuZ+GVs5UQieDtOlz+kzS2JtZTWHtM8oLS2Bypc+3oQqizE6v3K01citsD38G al9mhlkMF25FY0UuEAjbeYAMfz2kxGtD90TInu1o= Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (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 65C4A6EC55 for ; Wed, 28 Jul 2021 19:24:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 65C4A6EC55 Received: by smtp57.i.mail.ru with esmtpa (envelope-from ) id 1m8mM5-0006VN-DC; Wed, 28 Jul 2021 19:24:25 +0300 Date: Wed, 28 Jul 2021 16:24:25 +0000 To: imeevma@tarantool.org Message-ID: <20210728162425.ifgemteztd3yntd5@tarantool.org> References: <287af90465215d8f5dc37f1c147074387175bdf2.1627371599.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <287af90465215d8f5dc37f1c147074387175bdf2.1627371599.git.imeevma@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD941C43E597735A9C351B198F4576AC7B2770D7874BA03B4AE182A05F538085040FF61F97BADF31414D5BF45327E16FD06EC4D29E7215BBEBE43EEA9A2159A04F8 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7B9D6DADD6B53929DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637A85D247F7B1E5F958638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F0904EEB8FE2C128915A4FDECBCCC948117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC8C7ADC89C2F0B2A5A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18CB629EEF1311BF91D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE4B6963042765DA4BC3123C4324A5CF10D8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE39E541A154B51D14B9735652A29929C6CC4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F790063772BA5C7373F6D986EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A213B5FB47DCBC345887AAD9457BD5BC28CDAE16A3F2268C9EB53CE84373687089E59D0970A13ED518 X-C1DE0DAB: 0D63561A33F958A5DC16E7DB901C6DD5A4FC44E73461EC02F37887C64C67AD44D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA754263BA4E959D734C410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C53D1911AD7E41999D7230770EA0E374CB7EDE128EBBF69126D7D75E14FF433C447CB2790E8A7DDB1D7E09C32AA3244CAE5397B111930FD28D29B6A99DC82A2295A9E0DC41E9A4CFFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojiF1u9eOpfTRirWi4IGSfFw== X-Mailru-Sender: 05EB39F83D09414F9B5D7F52D7CDFDD2ECD43B8E33F13EB7B540F5FAD1C77ECF6A7546A8BFF03010CA16B95394F0DD5CE99530A0C0F27B5268329DCED823713783C0E760C018FF54112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v1 1/1] sql: disallow cast of negative DOUBLE to UNSIGNED X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kirill Yukhin via Tarantool-patches Reply-To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hello, On 27 июл 10:41, Mergen Imeev via Tarantool-patches wrote: > Prior to this patch it was possible to use CAST( AS UNSIGNED) > and get negative result. For example, result of CAST(-1.5 AS UNSIGNED) > was -1. This patch removes this possibility. Now such cast can only > return UNSIGNED value. > > Closes #6010 > --- > https://github.com/tarantool/tarantool/issues/6010 > https://github.com/tarantool/tarantool/tree/imeevma/gh-6010-disallow-double-to-int-cast I've checked your patch into 2.7, 2.8 and master. -- Regards, Kirill Yukhin