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 D90A46FC87; Fri, 1 Oct 2021 19:29:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D90A46FC87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1633105766; bh=CjD7kAAcwNe0aHyXHaPnDjw7bC0lqjHxMpHw9f3gKj0=; h=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=N5ImLjyYCBTXkxlZcU1oR0tpCD4Y7RrydCY3tUMl8Y873+q3n/47UKixqvKGsf57F ejzZndyWsL8W0rxTmgascDQmIQkkcXM9w2pd2v7sdkJqpg15O2Wn3g4wU9qE5qkqSL hSUcvKdFPRVsflTZM2dhn6CdVrsX7V8Ea2yg9bcE= 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 7ACFC6FC87 for ; Fri, 1 Oct 2021 19:29:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7ACFC6FC87 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mWLPX-0004Cd-SI; Fri, 01 Oct 2021 19:29:24 +0300 To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Fri, 1 Oct 2021 19:29:23 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD96A58C36AA2E99649BF631F26B0465AFD0E15652C7D51B98D182A05F538085040FA16A3FD5200A700417606E4721DBB67EF00558EEE1C65ED88BFFB4A6DE6CFBE X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7B9D6DADD6B53929DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006372BE3E2E75E3847F48638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D88DE0CA0312096AD142CEED88D95E2976117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCF1175FABE1C0F9B6A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735209ECD01F8117BC8BEA471835C12D1D977C4224003CC8364762BB6847A3DEAEFB0F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7C289736CE4F78F08343847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CBBB17C150BCA6793C9783271BCE294C29CE437EE6605CC289C2B6934AE262D3EE7EAB7254005DCED2B0D99E5FC5BAFA11E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0CCA28C6D779E2CD78E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3407FE5477D6A8AF08F515962E2AB8C33687C383090357D2AB843CEE2617670508E59E829DEC8E36001D7E09C32AA3244C618E7DBA827C025330FE18A9C47D9B4E81560E2432555DBB729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj/2kGGGWRGj5w9p0YUI6T7Q== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DB22087C567A80BC8C01C24088010AD2A83D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1 0/8] Rework standard function 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 refactors all non-aggregate standard functions and makes these functions work according to ANSI rules, if it is possible. However, the ANSI specific syntax for these functions will be presented later. Mergen Imeev (8): sql: refactor ABS() funcion sql: refactor CHAR_LENGTH() function sql: refactor UPPER() and LOWER() functions sql: refactor NULLIF() function sql: rework TRIM() function sql: rework POSITION() function sql: rework SUBSTR() function sql: refactor LIKE() function src/box/sql/func.c | 1137 +++++++++++++++----------------- test/sql-tap/badutf1.test.lua | 41 +- test/sql-tap/func.test.lua | 16 +- test/sql-tap/func2.test.lua | 150 ++--- test/sql-tap/position.test.lua | 80 ++- test/sql-tap/substr.test.lua | 121 +++- 6 files changed, 786 insertions(+), 759 deletions(-) -- 2.25.1