diff options
author | chenhui0212 <chenhui19900212@gmail.com> | 2020-06-18 17:28:26 +0800 |
---|---|---|
committer | chenhui0212 <chenhui19900212@gmail.com> | 2020-06-18 17:28:26 +0800 |
commit | f800b52172622b84aa8bdf09aa6cd522aade93be (patch) | |
tree | a25b212eb1d27c97f8227579a7acb31073933561 /src/rax.c | |
parent | 71fafd761ad5f939f485259eb3856ed3766c98be (diff) | |
download | redis-f800b52172622b84aa8bdf09aa6cd522aade93be.tar.gz |
Fix comments in function raxLowWalk of listpack.c
Diffstat (limited to 'src/rax.c')
-rw-r--r-- | src/rax.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,8 +487,8 @@ static inline size_t raxLowWalk(rax *rax, unsigned char *s, size_t len, raxNode if (h->iscompr) j = 0; /* Compressed node only child is at index 0. */ memcpy(&h,children+j,sizeof(h)); parentlink = children+j; - j = 0; /* If the new node is compressed and we do not - iterate again (since i == l) set the split + j = 0; /* If the new node is non compressed and we do not + iterate again (since i == len) set the split position to 0 to signal this node represents the searched key. */ } |