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
0dc6a5d4
Commit
0dc6a5d4
authored
Jun 02, 2015
by
linfangrong
Browse files
Update t_zset.c
parent
28a250d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
0dc6a5d4
...
...
@@ -1248,7 +1248,7 @@ void zaddGenericCommand(redisClient *c, int flags) {
if (zobj == NULL) {
if (xx) goto reply_to_client; /* No key + XX option: nothing to do. */
if (server.zset_max_ziplist_entries == 0 ||
server
.
zset_max_ziplist_value
<
sdslen
(
c
->
argv
[
3
]
->
ptr
))
server.zset_max_ziplist_value < sdslen(c->argv[
scoreidx+1
]->ptr))
{
zobj = createZsetObject();
} else {
...
...
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