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 DC4F36EC5F; Fri, 28 May 2021 14:41:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DC4F36EC5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1622202086; bh=2I/O/3Ns6uQ+RsfexDhU/hx8WYWf7XBjITSl+xJdekM=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=fK2kZuQbH3Jyv1vQeTHyLDJqE2HjtdkYQTtXU0EJwoyfEKbp3iGHxYp+kKTwOoArA 4SZGz7cxiYsN45I96M926X4EZTUEtabOjUMuNpI1fkpsSCckbIK7bN9R+ZDP9+Lcsb yrE//tXtfPaM2wZyUPFtSelhVRq2na48yXw1nJFA= Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [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 F382F6EC58 for ; Fri, 28 May 2021 14:41:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F382F6EC58 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1lmark-00030N-5W; Fri, 28 May 2021 14:41:24 +0300 To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Fri, 28 May 2021 14:41:23 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9157EECD0FDB90B9A7712F917240E18A5E40D698B3575A0AC00894C459B0CD1B905C21583CFD3DBD31ABFBEFBD1F99DF03966DC9522174D58261E30AE1A3D8EFE X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE770FEBAE29342FA8FEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D8F5094E9BAC3E9F8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D88E2F54C314433F8599CF8B701A36DA24117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC3733B5EC72352B9FA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18BDFBBEFFF4125B51D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B62CFFCC7B69C47339089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C7E9571940300E71AE1CD0C304BC568F39C471E668C59F9119C2B6934AE262D3EE7EAB7254005DCEDCF20510D834BC2AB1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B09D02A5090F3BCDFA8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3480665FBD8F49180CFB892881F402036648B55E6E074B9C097F67494C680D9C12C7ED7AE02012B9D41D7E09C32AA3244C7B64C80B07D7B0C543669E07146FC9AEE646F07CC2D4F3D8729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojrzEAfVgW/74TENUPmNObig== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822F2A23AE88343881657943B8FE7F6A34A83D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1 0/2] sql: VARBINARY result for user-defined functions 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" This patch allows VARBINARY to be returned for user-defined functions. Also, since there is currently no support for UUID and DECIMAL in SQL, so they are also treated as VARBINARY. Mergen Imeev (2): sql: VARBINARY result for C functions sql: VARBINARY result for LUA functions .../fix-error-on-return-bin-from-funcs.md | 3 + src/box/sql/mem.c | 44 ++++++++++ test/sql-tap/CMakeLists.txt | 1 + test/sql-tap/gh-6024-funcs-return-bin.c | 46 ++++++++++ .../sql-tap/gh-6024-funcs-return-bin.test.lua | 85 +++++++++++++++++++ 5 files changed, 179 insertions(+) create mode 100644 changelogs/unreleased/fix-error-on-return-bin-from-funcs.md create mode 100644 test/sql-tap/gh-6024-funcs-return-bin.c create mode 100755 test/sql-tap/gh-6024-funcs-return-bin.test.lua -- 2.25.1