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 A72E36EC41; Mon, 9 Aug 2021 13:40:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A72E36EC41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1628505630; bh=xaQwNMNqyhTzRC7oG/Dkn67BhdJd7RF/ueSFvFqCbz4=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=r78wz6tisLVCg0WrKoosMmnwZcc6bcYMDQkVINoV2GeJMXVpiwU34IUXxb3JLxPVM 8GLwxevh0Ox1EiI95UPJJCJKY1Mua7CRglorq7cNX9NwxeMFzTMkO9mWY35JP47qTW PMHYrvNFhgepAAOJ9AvxRpIPkrvvyY/iYsQh/2VE= 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 861286EC40 for ; Mon, 9 Aug 2021 13:40:29 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 861286EC40 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mD2ho-0000A3-OY; Mon, 09 Aug 2021 13:40:29 +0300 To: tarantool-patches@dev.tarantool.org Date: Mon, 9 Aug 2021 13:40:27 +0300 Message-Id: <2d5889e419f7c6a35d1c4394a42b0f4b5ff62a68.1628505014.git.vdavydov@tarantool.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210809103901.7oiizs7cbtf3pzf4@esperanza> References: <20210809103901.7oiizs7cbtf3pzf4@esperanza> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD9ECFD080E047A606F6525B29142351271182A05F53808504008129B007A93A2474F8B43A7972A8D0FB71EF3E09DAB438C82A91E8B494794ED X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78887611F2F2455C9EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063748D05F5E01EE6C998638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D831826DDEB915BB25BA7F41A30E94B5EA117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC60CDF180582EB8FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD186FD1C55BDD38FC3FD2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6B1CFA6D474D4A6A4089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C6B668463F4F89F8636D25DC10D83C29F3D7917DDCB2A42B69C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF6EFF71F1B3C06F72699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3488E5CD2E691F556611FEF168C9D1ACDF8805157DFB409EEF1AADE7467DB0F2E475D10177383C6BFC1D7E09C32AA3244C14A3AD841984EB1060D05A20DB8D266C9CA7333006C390A0927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXj/+tivWjuVvH0kZ7S0L8/d X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DCD8A6CDF165D23AC83CBC11BE16ABA12274CEFED1673C562683ABF942079399BFB559BB5D741EB966A65DFF43FF7BE03240331F90058701C67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH 1/2] xrow: remove unused call_request::header 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: Vladimir Davydov via Tarantool-patches Reply-To: Vladimir Davydov Cc: v.shpilevoy@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" --- https://github.com/tarantool/tarantool/tree/vdavydov/iproto-clear-request-header src/box/xrow.c | 1 - src/box/xrow.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/box/xrow.c b/src/box/xrow.c index 8ab8b27687df..a61c6e3457ba 100644 --- a/src/box/xrow.c +++ b/src/box/xrow.c @@ -1139,7 +1139,6 @@ error: } memset(request, 0, sizeof(*request)); - request->header = row; uint32_t map_size = mp_decode_map(&data); for (uint32_t i = 0; i < map_size; ++i) { diff --git a/src/box/xrow.h b/src/box/xrow.h index c6e8ed0fd019..0f2fcf94acfc 100644 --- a/src/box/xrow.h +++ b/src/box/xrow.h @@ -304,8 +304,6 @@ xrow_decode_raft(const struct xrow_header *row, struct raft_request *r, * CALL/EVAL request. */ struct call_request { - /** Request header */ - const struct xrow_header *header; /** Function name for CALL request. MessagePack String. */ const char *name; /** Expression for EVAL request. MessagePack String. */ -- 2.25.1