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