Skip to content

Commit 58c6c4a

Browse files
author
DvirDukhan
committed
byte_offset
1 parent cfc4167 commit 58c6c4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/serialization/RDB/decoder/current/v1/decode_v1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void *RAI_RDBLoadTensor_v1(RedisModuleIO *io) {
5555
.dtype = dtype,
5656
.shape = shape,
5757
.strides = strides,
58-
.byte_offset = 0},
58+
.byte_offset = byte_offset},
5959
.manager_ctx = NULL,
6060
.deleter = NULL};
6161
ret->refCount = 1;

src/serialization/RDB/decoder/previous/v0/decode_v0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void *RAI_RDBLoadTensor_v0(RedisModuleIO *io) {
4848
.dtype = dtype,
4949
.shape = shape,
5050
.strides = strides,
51-
.byte_offset = 0},
51+
.byte_offset = byte_offset},
5252
.manager_ctx = NULL,
5353
.deleter = NULL};
5454
ret->refCount = 1;

0 commit comments

Comments
 (0)