[Tarantool-patches] [PATCH v2 1/8] xrow: remove unused call_request::header

mechanik20051988 mechanik20051988 at tarantool.org
Mon Aug 9 17:37:55 MSK 2021


From: Vladimir Davydov <vdavydov at tarantool.org>

---
 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 8ab8b2768..a61c6e345 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 c6e8ed0fd..0f2fcf94a 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.20.1



More information about the Tarantool-patches mailing list