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
d4a7c9e1
Commit
d4a7c9e1
authored
Jun 02, 2015
by
linfangrong
Committed by
antirez
Jun 11, 2015
Browse files
Update t_zset.c
parent
4e8759c6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
d4a7c9e1
...
...
@@ -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