Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
75648f99
Commit
75648f99
authored
Apr 08, 2019
by
antirez
Browse files
Fix assert comparison in fetchClusterSlotsConfiguration().
parent
5e8caca0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
75648f99
...
...
@@ -1192,7 +1192,7 @@ static int fetchClusterSlotsConfiguration(client c) {
assert(reply->type == REDIS_REPLY_ARRAY);
for (i = 0; i < reply->elements; i++) {
redisReply *r = reply->element[i];
assert
(
r
->
type
=
REDIS_REPLY_ARRAY
);
assert(r->type =
=
REDIS_REPLY_ARRAY);
assert(r->elements >= 3);
int from, to, slot;
from = r->element[0]->integer;
...
...
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