Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
df838927
Commit
df838927
authored
Feb 07, 2020
by
antirez
Browse files
Rax.c: populate data field after random walk.
parent
0517da36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rax.c
View file @
df838927
...
...
@@ -1766,6 +1766,7 @@ int raxRandomWalk(raxIterator *it, size_t steps) {
if
(
n
->
iskey
)
steps
--
;
}
it
->
node
=
n
;
it
->
data
=
raxGetData
(
it
->
node
);
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment