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 A87696EC58; Thu, 24 Jun 2021 13:30:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A87696EC58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1624530633; bh=wGf1/7uixwLaFSa0qIxUessQ3TeROVHDoT5LEbKbbvc=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=luivvNn2mJKYWRK+RgUIowHnmf/TTVCfML8cEDt6cuAR7dAo2JEyDHb4fGOyjOfJY MjMspgZW2yTpvRy33YWM70AkL13pUOwYY1SUeNj5pgjN5u6eNQYlufL/J9MPSde5uf KE4IS+dlRNp8jNVxHHjLdlRO8cc5JXMBO/lSRkjs= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (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 077946EC58 for ; Thu, 24 Jun 2021 13:30:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 077946EC58 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1lwMcx-0006fW-68; Thu, 24 Jun 2021 13:30:31 +0300 To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Thu, 24 Jun 2021 13:30:30 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD954DFF1DC42D673FB4F75AC5594ACDC16869A51A860A12816182A05F538085040C5832AC3C4C238DF429C81544B8312D247220089A41C86C85C43DDA08964AD79 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE721B3E54BB37EA0B4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637F757A79C3007ACA28638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D84B2AE65598F1A0CC7FAC527D2A1CC261117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD182CC0D3CB04F14752D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B66F6A3E018CF4DC80089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CDFD85F345618D568F050F36D795F29F44FCB2924520681AC9C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359ADBCB5631A0A9D21F1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C6EC1BD9807109D28AA4485F2D7BE18B357974EBBDFC7D4DD4ED0EEDBCED8F649A4912755223B5C81D7E09C32AA3244C0737812BAB11A14690E74AE2D6DA69103C6EB905E3A8056B729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXiESzVYL70n5SOAq2pEIdoo X-Mailru-Sender: 689FA8AB762F73936BC43F508A0638228D12FA52895B3F234DF68EA713028D8683D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1 0/2] sql: fix description of 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: Mergen Imeev via Tarantool-patches Reply-To: imeevma@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" After this patch-set value always will be printed in description of type mismatch error. Currently, in some cases type of value is printed instead of value. https://github.com/tarantool/tarantool/issues/4356 https://github.com/tarantool/tarantool/tree/imeevma/gh-4356-show-varbinary-value Mergen Imeev (2): sql: show varbinary in type mismatch error sql: always show value in type mismatch error src/box/sql/mem.c | 16 +- src/box/sql/vdbe.c | 15 +- test/sql-tap/cast.test.lua | 4 +- test/sql-tap/func.test.lua | 8 +- .../gh-5913-segfault-on-select-uuid.test.lua | 4 +- test/sql-tap/sql-errors.test.lua | 69 ++- test/sql-tap/tkt-80e031a00f.test.lua | 4 +- test/sql-tap/uuid.test.lua | 28 +- test/sql/boolean.result | 452 +++++++++--------- test/sql/types.result | 38 +- 10 files changed, 347 insertions(+), 291 deletions(-) -- 2.25.1