Update t_zset.c

This commit is contained in:
linfangrong
2015-06-11 15:15:45 +02:00
committed by antirez
parent 4e8759c65e
commit d4a7c9e1ab
+1 -1
View File
@@ -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 {