RESP3: restore the concept of null array for RESP2 compat.

This commit is contained in:
antirez
2018-11-30 16:36:55 +01:00
parent 2ad6e875ba
commit 3fd78f41e8
7 changed files with 8 additions and 8 deletions

View File

@ -3277,7 +3277,7 @@ void blockingGenericZpopCommand(client *c, int where) {
/* If we are inside a MULTI/EXEC and the zset is empty the only thing
* we can do is treating it as a timeout (even with timeout 0). */
if (c->flags & CLIENT_MULTI) {
addReplyNull(c);
addReplyNullArray(c);
return;
}