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 C91D86EC58; Fri, 25 Jun 2021 10:27:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C91D86EC58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1624606050; bh=rBeK+9B125O9vqyAUGhFSBtZPj1LZ0/+ETvYTLLUX3U=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ri7Xt5bhnvJt/e9vmX+EuUd5CXV56wME3eKUZZ+VIY3uEcfwJzdYM9W55XRoJHjAX F0PBW52A7VM4bCnCbhII7algATBSLucS8Aux9XkSQD+Oa+NACb4qg9yzkAJWj7Y5l1 JloMFaXuL2KdiBtyz2dTXht2FO/9I+VYIk2TZHhM= Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [94.100.177.113]) (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 E7A056EC58 for ; Fri, 25 Jun 2021 10:27:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E7A056EC58 Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1lwgFL-0002jM-P7; Fri, 25 Jun 2021 10:27:28 +0300 Date: Fri, 25 Jun 2021 07:27:24 +0000 To: imeevma@tarantool.org Cc: v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org Message-ID: <20210625072724.3lc35g67i5t3c5ew@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD954DFF1DC42D673FB64496B12B6C6FB871CAFB561BC326F0E182A05F538085040B6B7BBD75FBA4E37C45B2C02A1B1EC1AC8EE8E524BB897575AFCCF2AA9142763 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7D9C4478D0B876341EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063745D431239A8C7DA08638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D86BE700F3D0D352999C846041C749AFDB117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC836476EB9C4185024447017B076A6E789B0E975F5C1EE8F4F765FC9B40B13987FBB8333AA81AA40904B5D9CF19DD082D7633A078D18283394535A93AA81AA40904B5D98AA50765F79006371051A6FE5C6FE27DD81D268191BDAD3D698AB9A7B718F8C4D1B931868CE1C5781A620F70A64A45A98AA50765F79006372E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F6736582285900E61C6EABA9B74D0DA47B5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: 0D63561A33F958A579E9ACC42A83623C0A7DA62EA9206C8857453DCC75778B38D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34A783A638E01A3CDE649540919A7EE90BD3F235BFAAF35F701A60AC5FF37B745106309AAD36F7D6E81D7E09C32AA3244C459375A881D509578DAA371ABDBF3248F94338140B71B8EEFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojQMwavxIrnHZ/tOIRjcDZhw== X-Mailru-Sender: 05EB39F83D09414F9B5D7F52D7CDFDD29DF39A2E6864804F89AAFAF8BB3BA0D8C4E0ACF2E299881FCA16B95394F0DD5CE99530A0C0F27B5268329DCED823713783C0E760C018FF54112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v1 2/2] sql: always show value 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: Kirill Yukhin via Tarantool-patches Reply-To: Kirill Yukhin Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hello, On 24 Jun 13:30, Mergen Imeev via Tarantool-patches wrote: > diff --git a/src/box/sql/vdbe.c b/src/box/sql/vdbe.c > -- Check interaction of BOOLEAN and TEXT. > @@ -5272,124 +5272,124 @@ SELECT a2, d, d OR a2 FROM t6, t9; > SELECT true > 'abc'; > | --- > | - null > - | - 'Type mismatch: can not convert text to boolean' > + | - 'Type mismatch: can not convert abc to boolean' Is it possible to quote string values (like you do for varbinary)? -- Regards, Kirill Yukhin