Skip to content

Commit

Permalink
Merge pull request redis#2614 from linfangrong/patch-1
Browse files Browse the repository at this point in the history
Update t_zset.c
  • Loading branch information
antirez committed Jun 11, 2015
2 parents 8366907 + 0dc6a5d commit 4b5a0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t_zset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b5a0f0

Please sign in to comment.