mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 16:51:22 +00:00
RESP3: restore the concept of null array for RESP2 compat.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user