Skip to content

Commit

Permalink
Another RESP3 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed Jul 18, 2019
1 parent c8516f3 commit 4e30a5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/t_zset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4e30a5b

Please sign in to comment.