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 9C2CB6EC58; Thu, 27 May 2021 19:43:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9C2CB6EC58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1622133784; bh=Py9ft3/s2M7YfSRXUoqSc8BjG2eRcDgWboGRzBvk0Ho=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=YvGnEHCDoqSwomLtrEGKZ4GUtPe9EHCuOdj9hz/omdikr3UQ8wquljNTS8jQK1WBC J2tWvwhWwLAjY1vzZr9MdEP/ea/dK/3hzJOVpSco7kWZMT4Lfgb+umIi+UgXBC9ip6 hcfup4s+7GafpRMvwXxFMGAam7QlPGlCKapcElaE= 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 BA67A6EC58 for ; Thu, 27 May 2021 19:43:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org BA67A6EC58 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1lmJ66-0004pB-VV; Thu, 27 May 2021 19:43:03 +0300 To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Thu, 27 May 2021 19:43:02 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9157EECD0FDB90B9A3C7FC6B53229AFE7CC4D706690F5628300894C459B0CD1B9A42E1EB269EA37B583FF310E12662069E4C9BF811385D26D9799EF890AE2F2A9 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7E3137013C338FE3BEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637DA5CEC9EE7F170198638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8D8100F0C28683C232301EF98D675E70F117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B62CFFCC7B69C47339089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C7E9571940300E71A9EEF3D392166B536F8D5C3440F8C85059C2B6934AE262D3EE7EAB7254005DCEDCCF148B411F834B11E0A4E2319210D9B64D260DF9561598F01A9E91200F654B09D02A5090F3BCDFA8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340A4C04F5DECA7EE9A1E6EB64CE2E745E45F43B5C5B84EB94FE4999E7E09B72BBD1459C9AE07510FC1D7E09C32AA3244CBE7C989127659E98CB1CD805488FC6C4F2F5F14F68F1805B729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXiJY+Q+mhFLqUNj75P+Pnxv X-Mailru-Sender: 689FA8AB762F73936BC43F508A0638226AAFF8A34B211ECFDBF5323C4C32290183D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH 0/2] sql: introduce UUID 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-set introduces UUID to SQL. After this patch-set UUID field type will be available in SQL and UUID values can be generated using UUID() function. https://github.com/tarantool/tarantool/issues/5886 https://github.com/tarantool/tarantool/tree/imeevma/gh-5886-introduce-uuid-type-in-sql Mergen Imeev (2): sql: introduce UUID field type sql: introduce SQL built-in function UUID() .../unreleased/introduce-uuid-to-sql.md | 3 + extra/mkkeywordhash.c | 1 + src/box/bootstrap.snap | Bin 5991 -> 6016 bytes src/box/lua/upgrade.lua | 19 + src/box/sql/func.c | 69 +- src/box/sql/mem.c | 203 ++- src/box/sql/mem.h | 29 +- src/box/sql/parse.y | 3 +- src/box/sql/vdbe.c | 15 +- test/box-py/bootstrap.result | 1 + test/box/access.result | 2 +- test/box/access.test.lua | 2 +- test/box/access_bin.result | 2 +- test/box/access_bin.test.lua | 2 +- test/box/access_sysview.result | 8 +- test/box/function1.result | 6 +- test/sql-tap/CMakeLists.txt | 1 + .../gh-5913-segfault-on-select-uuid.test.lua | 42 +- .../sql-tap/gh-6024-funcs-return-bin.test.lua | 8 +- test/sql-tap/sql_uuid.c | 46 + test/sql-tap/uuid.test.lua | 1344 +++++++++++++++++ test/wal_off/func_max.result | 8 +- 22 files changed, 1730 insertions(+), 84 deletions(-) create mode 100644 changelogs/unreleased/introduce-uuid-to-sql.md create mode 100644 test/sql-tap/sql_uuid.c create mode 100755 test/sql-tap/uuid.test.lua -- 2.25.1