Skip to content

Commit

Permalink
Update t_zset.c
Browse files Browse the repository at this point in the history
  • Loading branch information
linfangrong committed Jun 2, 2015
1 parent 28a250d commit 0dc6a5d
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 0dc6a5d

Please sign in to comment.