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

Evgeny Mekhanik mechanik20051988 at tarantool.org
Mon Aug 9 14:26:37 MSK 2021


> 
>>---
>>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
> 
>LGTM
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20210809/d55dc943/attachment.htm>


More information about the Tarantool-patches mailing list