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 5C9D36EC40; Tue, 17 Aug 2021 13:43:13 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5C9D36EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1629196993; bh=7UJ123f3mJRCL0tUAUcF1oYO8VYw5S+gPDDPJxY00mA=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=k4kHeVPNozK6v5FBZKagFvJzvANZruhaf7cvRSqDWoPNjXEkTUZ006wt0jUNcZAuE G/j3Rp0kAAX/IPYJNMYK0ez/L/SNzL/7iF391LzJkJ3IvVdkdYEiYTDMfqq6ywU0P8 +jiUmQe0AmUn8CXuc2FR8yKiLtViB0HW//yfdRAU= Received: from smtpng2.i.mail.ru (smtpng2.i.mail.ru [94.100.179.3]) (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 CC87C6EC40 for ; Tue, 17 Aug 2021 13:43:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CC87C6EC40 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1mFwYo-0008IP-Rm; Tue, 17 Aug 2021 13:43:11 +0300 To: vdavydov@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Tue, 17 Aug 2021 13:43:10 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD972FF4A7D76DB5E242D14FEF1BD8BF4AC182A05F5380850407DA21930E5208568F29ACDE3EDD08B288F228B0D9D3975984F9E84A553C9351C X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE765EC468FF5F3030AEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637FCE92196D28EA6468638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8BB77C637E5BCC7E12AE4E7EA7B76B688117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC1BE95B8C87527B4BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751FE5D25F19253116ADD2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6B1CFA6D474D4A6A4089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C5B73F950BC6E7FFBB1CDC504CFBCBBE28C32D6A027EBE6CE9C2B6934AE262D3EE7EAB7254005DCEDC622B31043BEC9E01E0A4E2319210D9B64D260DF9561598F01A9E91200F654B00191F08AA555D0B08E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349C39CCCDAABCB54B1640775D02C1103C2EED525379F58D8E762735E8689FD064CF85B7E7CB746EE51D7E09C32AA3244C630EBCC175B65F1C9D2B2745848F45953E8609A02908F271729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojIrFL/N5KnVEwXp6hTI+mFA== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D0DA4BA162176887B4B81BBABBCF40F8F83D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 0/2] Define field types in ephemeral spaces 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 defines field types in ephemeral spaces in SQL. This is needed for proper SCALAR/NUMBER types determinations after values were put through ephemeral space. https://github.com/tarantool/tarantool/issues/6213 https://github.com/tarantool/tarantool/tree/imeevma/gh-6213-field-types-in-ephemeral-spaces Changes in v2: - Renamed some functions. - Removed unnecessary fields in struct sql_key_info. - Removed some unnecessary code. Mergen Imeev (2): sql: rename some sql_ephemeral_space_* functions sql: define ephemeral space fields src/box/sql.c | 224 ++++++++++++-------- src/box/sql.h | 4 +- src/box/sql/build.c | 4 +- src/box/sql/delete.c | 35 ++-- src/box/sql/expr.c | 19 +- src/box/sql/insert.c | 57 ++++-- src/box/sql/select.c | 408 ++++++++++++++++++++++++++++--------- src/box/sql/sqlInt.h | 66 +++++- src/box/sql/tarantoolInt.h | 15 -- src/box/sql/update.c | 15 +- src/box/sql/vdbe.c | 17 +- src/box/sql/vdbe.h | 13 +- src/box/sql/vdbeaux.c | 12 -- src/box/sql/where.c | 10 +- src/box/sql/wherecode.c | 14 +- 15 files changed, 608 insertions(+), 305 deletions(-) -- 2.25.1