From 99cb476500c06dffe19bfab1f68714d9bbaac279 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 18 Dec 2015 09:15:47 +0100 Subject: [PATCH] Fix CMD_DENYOOM macro name after backporting. --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index c87b9ac2..8e792c17 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2213,7 +2213,7 @@ int processCommand(redisClient *c) { /* It was impossible to free enough memory, and the command the client * is trying to execute is denied during OOM conditions? Error. */ - if ((c->cmd->flags & CMD_DENYOOM) && retval == REDIS_ERR) { + if ((c->cmd->flags & REDIS_CMD_DENYOOM) && retval == REDIS_ERR) { flagTransaction(c); addReply(c, shared.oomerr); return REDIS_OK;