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 671EF6EC40; Tue, 17 Aug 2021 14:55:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 671EF6EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1629201302; 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=vlDo4nJNPNUmlfAtobm3VEP7+RPjbor6vVf1SWkNf11McKw8Jbezio1i44wT57T86 +7QuTHe3RErtELnFWV3/RDYK2Bx2QlLYlWqgRYhl40B4ULwkePiKOU472vfJzAqOml Yfm/kIGfgLIm5lf8G5in1wpZXv+Cal+FRrLo2H90= 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 D40136EC40 for ; Tue, 17 Aug 2021 14:55:00 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D40136EC40 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mFxgJ-0004lK-Ru; Tue, 17 Aug 2021 14:55:00 +0300 To: kyukhin@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Tue, 17 Aug 2021 14:54:59 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD972FF4A7D76DB5E242D14FEF1BD8BF4AC182A05F538085040868D03DCCCD5BA0E6F71B88E1771377AB33E9BBD0C09E75A3795BA8F92D9EB6A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE765EC468FF5F3030AEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637FCE92196D28EA6468638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F0463210475C0CADFA489990A8559DB9117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC1BE95B8C87527B4BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751FE5D25F19253116ADD2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6B1CFA6D474D4A6A4089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C5B73F950BC6E7FFB43372C269DBF4D2CDC302908F49D40509C2B6934AE262D3EE7EAB7254005DCEDC622B31043BEC9E01E0A4E2319210D9B64D260DF9561598F01A9E91200F654B00191F08AA555D0B08E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349C39CCCDAABCB54B1640775D02C1103C2EED525379F58D8E762735E8689FD064CF85B7E7CB746EE51D7E09C32AA3244C5A9A6808333F67DFB43DFBFD3072A3658A6D4CC6FBFAC251729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojuRQ/H5n28tpKTqljZLYf1A== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DD70DF3E716EA9337A462E39E71DD5FB983D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B 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