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
4b5a0f03
Commit
4b5a0f03
authored
Jun 11, 2015
by
Salvatore Sanfilippo
Browse files
Merge pull request #2614 from linfangrong/patch-1
Update t_zset.c
parents
8366907b
0dc6a5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
4b5a0f03
...
@@ -1248,7 +1248,7 @@ void zaddGenericCommand(redisClient *c, int flags) {
...
@@ -1248,7 +1248,7 @@ void zaddGenericCommand(redisClient *c, int flags) {
if
(
zobj
==
NULL
)
{
if
(
zobj
==
NULL
)
{
if
(
xx
)
goto
reply_to_client
;
/* No key + XX option: nothing to do. */
if
(
xx
)
goto
reply_to_client
;
/* No key + XX option: nothing to do. */
if
(
server
.
zset_max_ziplist_entries
==
0
||
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
();
zobj
=
createZsetObject
();
}
else
{
}
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