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 08E156EC58; Thu, 24 Jun 2021 23:24:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 08E156EC58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1624566279; bh=AfeX63Iug6zNw0l5ndmZkZb1o/m6Zd6EajduJD1KxQM=; 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=azZQHIgesu48UUpxJGa/fEDer/FLuFAV5wawKM0W3hgHWFzqHvcQB23EOvMV8hFxt 33Bd2gcG7Hq11TYvwHtQoxCpgTHviNWeAWsSMtIDdoOAgKPJujDZESVm47B4aAtJVp G5VSMqkBdey6Y/0RzJExw0Ewn9KzQXEUvIcBQPOA= Received: from smtp39.i.mail.ru (smtp39.i.mail.ru [94.100.177.99]) (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 A06F86EC58 for ; Thu, 24 Jun 2021 23:24:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A06F86EC58 Received: by smtp39.i.mail.ru with esmtpa (envelope-from ) id 1lwVtr-0007nj-Tu; Thu, 24 Jun 2021 23:24:36 +0300 To: imeevma@tarantool.org Cc: tarantool-patches@dev.tarantool.org References: Message-ID: <3b40d57f-5051-418c-5899-9aa241114c57@tarantool.org> Date: Thu, 24 Jun 2021 22:24:34 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD954DFF1DC42D673FB703477AD6D36A6E3513B6A65BE508F5F182A05F538085040E5B39A22BE4F3FD4553D17BEB212A8A7229E159EAD0C162ED8DF0CA1EE9A13EF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A548C5E803E75135EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063771C846A5973DEE7E8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D86846AF9DC10166411A148283BB827872117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18C26CFBAC0749D213D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE0AC5B80A05675ACD1AB2475877E8919AD8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE3A7DFDF579AB090EF2D242C3BD2E3F4C6C4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F7900637BC468E7E89D8C5D6EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2368A440D3B0F6089093C9A16E5BC824A2A04A2ABAA09D25379311020FFC8D4ADBA7B03D8541B767888CBFDF53ACC6434 X-C1DE0DAB: 0D63561A33F958A59083E784065FC6BD4C94A00E1BF5F8A3C0EEDBCBED19CD5BD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D344E332383F80D58BBF9DC76AAFDFAD0CBCD07D60A99360B4522D50D5E44D27DB12B33EC9AD74548301D7E09C32AA3244C6BC419BD4AF9DBD22C5E853FE55143608A6D4CC6FBFAC251729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYpdkWC5QM12qgOTbIISWzA== X-Mailru-Sender: 504CC1E875BF3E7D9BC0E5172ADA311070715999E3B22B1ACE8A612DC982F6BBD296AB911ED91AF307784C02288277CA03E0582D3806FB6A5317862B1921BA260ED6CFD6382C13A6112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v1 1/2] sql: show varbinary in type mismatch error 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 patchset! > diff --git a/test/sql-tap/uuid.test.lua b/test/sql-tap/uuid.test.lua > index 77ba06c2d..f19eb4a9c 100755 > --- a/test/sql-tap/uuid.test.lua > +++ b/test/sql-tap/uuid.test.lua > @@ -697,7 +697,7 @@ test:do_catchsql_test( > [[ > SELECT cast(randomblob(10) as UUID) FROM t2 LIMIT 1; > ]], { > - 1, "Type mismatch: can not convert varbinary to uuid" > + 1, "Type mismatch: can not convert x'819192E578DE3FA24AF3' to uuid" randomblob() can return different results from time to time. I would not check for the exact error message. Now it somewhy returns the same values, but I suppose that might change. The same below. > }) > > test:execsql([[ > @@ -858,7 +858,7 @@ test:do_catchsql_test( > [[ > INSERT INTO tsu VALUES ('8_varbinary', randomblob(10)); > ]], { > - 1, "Type mismatch: can not convert varbinary to uuid" > + 1, "Type mismatch: can not convert x'733CA8769291A0FEE366' to uuid" > })