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 11A5D6EC40; Thu, 19 Aug 2021 08:31:41 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 11A5D6EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1629351101; bh=DkQpPtx5nNwct4Y++9A+up4a1s9zCNbMHXEZq3v0bMQ=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=NWS5gLlxTeWwDwY5Zgb0Rd3l8sxpjmmWnlLbF8RXm+Z5Ayd1zwWJBHh5ug0RY/K2d gxhf2mNT0j4fklcDSUrTd8ebSmPA/BHz9Dln7+lHRiWoUvD1QKujUiLYramMMvXSnM lYBGJ9xwD3M16WW5L0mb/d/fkfoxBAY8aaBWcAXo= 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 EE52C6EC40 for ; Thu, 19 Aug 2021 08:31:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EE52C6EC40 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1mGaeD-00005K-41; Thu, 19 Aug 2021 08:31:25 +0300 To: vdavydov@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Thu, 19 Aug 2021 08:31:24 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD910164DC12A5633065676A9727AC27C74182A05F538085040BD30C1262FC1421BAF6459EF5D878D8E2F79067C0EC7A0302050D39338A708C1 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7011EB7026DD4A9BAEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637F553454BD40B3B398638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F5F52EF7FCE0362AE675311A9A6AB806117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC974A882099E279BDA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD182CC0D3CB04F14752D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6300D3B61E77C8D3B089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CF160826E4E1956AEA0F4D7C4ED0C7D55CA5F3A81BBEFFE279C2B6934AE262D3EE7EAB7254005DCED1C8AEA1E975C27AC1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B068F972559010CA1C8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34BDCC71B3781C9C9590AFEF65684331A2C98DBA8CB168B64664DA97C79768361A0046ABE0498CFD291D7E09C32AA3244C80A8EE40755066E3B6DE0F7FDD65E7B833C9DC155518937F729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojGSxK+6r6oBHTuj7KPhkDQw== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D11DDBBE0BDDB6FBB43C2B20983E94D2E83D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 0/5] Change structure of SQL-built-in 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-set changes structure of SQL built-in functions. https://github.com/tarantool/tarantool/issues/6105 https://github.com/tarantool/tarantool/tree/imeevma/gh-6105-properly-check-funcs-args-types Mergen Imeev (5): sql: remove OP_BuiltinFunction0 and OP_AggStep0 sql: remove unnecessary MEM finalization sql: remove struct func from struct sql_context sql: do not use struct func for finalization sql: remove unused code src/box/box.cc | 1 - src/box/sql.c | 1 - src/box/sql.h | 9 - src/box/sql/analyze.c | 6 +- src/box/sql/expr.c | 2 +- src/box/sql/func.c | 999 +++++++----------------------------------- src/box/sql/mem.c | 34 +- src/box/sql/mem.h | 19 +- src/box/sql/select.c | 2 +- src/box/sql/sqlInt.h | 42 -- src/box/sql/vdbe.c | 109 +---- src/box/sql/vdbe.h | 9 +- src/box/sql/vdbeInt.h | 10 +- src/box/sql/vdbeapi.c | 10 +- src/box/sql/vdbeaux.c | 11 +- 15 files changed, 184 insertions(+), 1080 deletions(-) -- 2.25.1