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 82B0E6EC55; Mon, 26 Jul 2021 22:41:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 82B0E6EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1627328464; bh=MCtfdUYQYN/usa2ielWn0hpVuJG48nP8C8dbsStoHes=; h=To:Cc:References:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=fFPSBnZaPlV8nXkLR+woXMYvWBdZSFPOy6F7Ih5r+0jYoCsZTNJ2EgGcoFOqFOW45 cJsBcECyloP7sms+zPFGJr/aPs9haKFbnhm88fNlKyC8iMZEzXaQRiiY8Zaw9T/Sw/ uSgSZwChz0RvEcwgYe8xFomq4W6Sscr1yZvqnIBg= Received: from smtpng3.i.mail.ru (smtpng3.i.mail.ru [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 C46636EC55 for ; Mon, 26 Jul 2021 22:41:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C46636EC55 Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1m86TF-0004um-Sy; Mon, 26 Jul 2021 22:41:02 +0300 To: imeevma@tarantool.org Cc: tarantool-patches@dev.tarantool.org References: <4f12b945f7600953437e2eb56a013bc59647757c.1626879871.git.imeevma@gmail.com> Message-ID: Date: Mon, 26 Jul 2021 21:41:00 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <4f12b945f7600953437e2eb56a013bc59647757c.1626879871.git.imeevma@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD941C43E597735A9C3038391AAE5FBFA7682283CBB09BF492D182A05F5380850404CE02963BC9AF363B9AA4A5FEDB21C79B6A478E5DADDF2CA50B4C5FC9A9A0D7C X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78CB87876C5D626D4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063770995E888C5C26978638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8A659DAFCFEF4E6602C30E9A85E99CC9B117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC3733B5EC72352B9FA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352026055571C92BF10F2CC0D3CB04F14752D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B613439FA09F3DCB32089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5C83C80D872003943045DE100BAA57B0968588815BCE894E3D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7517A45118377F5F9E8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34F804B400765FFFF9241F6E176E10DAD5A1C0D98871B16E087915FE0AB3579E12A330714748D093281D7E09C32AA3244CA9858268E2A889E8322313DC64CA5BF0D08D48398F32B4A6729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojMEANdStWW59Ed28oW8ZCWA== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D8229E7B571B3C85E1473E2D00C87AC7D3841015FED1DE5223CC9A89AB576DD93FB559BB5D741EB963CF37A108A312F5C27E8A8C3839CE0E267EA787935ED9F1B 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: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi! Thanks for the patch! On 21.07.2021 17:05, imeevma@tarantool.org 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 possiblity. Now such cast can only possiblity -> possibility After that LGTM.