Commit f4d4c47f authored by antirez's avatar antirez
Browse files

fix for ZADD in score update mode

parent e197b441
......@@ -3794,6 +3794,7 @@ static int zslDelete(zskiplist *zsl, double score, robj *obj) {
zslFreeNode(x);
while(zsl->level > 1 && zsl->header->forward[zsl->level-1] == NULL)
zsl->level--;
zsl->length--;
return 1;
} else {
x = x->forward[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment