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

@ -134,7 +134,7 @@ void execCommand(client *c) {
* in the second an EXECABORT error is returned. */
if (c->flags & (CLIENT_DIRTY_CAS|CLIENT_DIRTY_EXEC)) {
addReply(c, c->flags & CLIENT_DIRTY_EXEC ? shared.execaborterr :
shared.null[c->resp]);
shared.nullarray[c->resp]);
discardTransaction(c);
goto handle_monitor;
}