Another RESP3 regression
Former-commit-id: 4e30a5b4e53a4d1580f8d7cca8a8eac11e36ce4d
This commit is contained in:
parent
f71f79af8e
commit
48e44624c3
@ -2665,7 +2665,10 @@ void genericZrangebyscoreCommand(client *c, int reverse) {
|
||||
|
||||
/* No "first" element in the specified interval. */
|
||||
if (ln == NULL) {
|
||||
addReplyNull(c);
|
||||
if (c->resp < 3)
|
||||
addReply(c, shared.emptyarray);
|
||||
else
|
||||
addReplyNull(c);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user