Commit f800b521 authored by chenhui0212's avatar chenhui0212
Browse files

Fix comments in function raxLowWalk of listpack.c

parent 71fafd76
...@@ -487,8 +487,8 @@ static inline size_t raxLowWalk(rax *rax, unsigned char *s, size_t len, raxNode ...@@ -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. */ if (h->iscompr) j = 0; /* Compressed node only child is at index 0. */
memcpy(&h,children+j,sizeof(h)); memcpy(&h,children+j,sizeof(h));
parentlink = children+j; parentlink = children+j;
j = 0; /* If the new node is compressed and we do not j = 0; /* If the new node is non compressed and we do not
iterate again (since i == l) set the split iterate again (since i == len) set the split
position to 0 to signal this node represents position to 0 to signal this node represents
the searched key. */ the searched key. */
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment