Another RESP3 regression

Former-commit-id: 4e30a5b4e53a4d1580f8d7cca8a8eac11e36ce4d
This commit is contained in:
John Sully 2019-07-17 22:57:52 -04:00
parent f71f79af8e
commit 48e44624c3

View File

@ -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;
}