mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
ZPOP: invert score-ele to match ZRANGE WITHSCORES order.
This commit is contained in:
@ -3163,8 +3163,8 @@ void genericZpopCommand(client *c, robj **keyv, int keyc, int where, int emitkey
|
||||
signalModifiedKey(c->db,key);
|
||||
}
|
||||
|
||||
addReplyDouble(c,score);
|
||||
addReplyBulkCBuffer(c,ele,sdslen(ele));
|
||||
addReplyDouble(c,score);
|
||||
sdsfree(ele);
|
||||
arraylen += 2;
|
||||
|
||||
|
Reference in New Issue
Block a user