mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
commit
4b5a0f0376
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user